Lucky Numbers

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Print all lucky numbers up to n

- Volatility

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

15

Sample output:

1
3
7
9
13
15

Sample input:_

100

Sample output:

1
3
7
9
13
15
21
25
31
33
37
43
49
51
63
67
69
73
75
79
87
93
99

Sample input:_

500

Sample output:

1
3
7
9
13
15
21
25
31
33
37
43
49
51
63
67
69
73
75
79
87
93
99
105
111
115
127
129
133
135
141
151
159
163
169
171
189
193
195
201
205
211
219
223
231
235
237
241
259
261
267
273
283
285
289
297
303
307
319
321
327
331
339
349
357
361
367
385
391
393
399
409
415
421
427
429
433
451
463
475
477
483
487
489
495

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1jpl870.11252013/03/15 00:49:170B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1whio570.04172013/03/28 06:24:160B / 19B / 38B

Python _

RankUserSizeTimeDateStatistics
1Duplicate of http://golf.shinh.org/p.rb?Lucky+numbers600.10222013/03/15 01:11:041B / ?B / ?B
2Volatility600.10152013/03/15 14:34:331B / 36B / 17B
3st011300.10922013/03/26 06:09:200B / 73B / 41B

JavaScript _

RankUserSizeTimeDateStatistics
1Shmiddty1090.04622013/03/15 04:42:180B / 54B / 55B

C _

RankUserSizeTimeDateStatistics
1chocobi1260.04382013/03/14 23:38:050B / 57B / 69B

Vim _

RankUserSizeTimeDateStatistics
1udioica390.04712017/05/12 07:17:430B / 19B / 17B

Language Ranking_

RankLangUserSizeScore
1Vimudioica3910000
2Perlwhio576842
3PythonDuplicate of http://golf.shinh.org/p.rb?Lucky+numbers606500
4Rubyjpl874482
5JavaScriptShmiddty1093577
6Cchocobi1263095

return to the top page