Belgian 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 the Belgian-0 numbers up to 500.

http://planetmath.org/belgiannumber

http://oeis.org/A106039

Options

exec is denied

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

Sample input:_

*NOTHING*

Sample output:

0
1
2
3
4
5
6
7
8
9
10
11
12
13
17
18
20
21
22
24
26
27
30
31
33
35
36
39
40
42
44
45
48
50
53
54
55
60
62
63
66
70
71
72
77
80
81
84
88
90
93
99
100
101
102
106
108
110
111
112
114
117
120
121
123
126
131
132
133
135
140
144
145
148
150
152
153
155
156
157
161
162
171
173
176
180
181
188
189
190
192
195
197
198
200
201
202
204
205
207
209
210
211
212
213
216
219
220
222
224
225
228
230
234
235
236
240
242
243
246
247
252
261
262
264
266
270
273
275
279
280
283
285
288
300
303
304
306
308
312
315
320
321
322
323
324
325
327
328
330
333
336
342
343
344
348
351
360
363
364
369
370
372
374
375
377
378
392
393
396
399
400
402
403
404
405
407
408
410
413
414
415
420
422
423
424
426
431
432
436
439
440
441
444
448
450
453
457
459
460
461
465
468
472
473
475
476
480
481
484
486
487
493

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Histocrat560.17342014/10/31 00:22:360B / 24B / 31B
2leonid580.13992014/10/31 07:05:520B / 26B / 30B

Perl _

RankUserSizeTimeDateStatistics
1teebee470.05322014/11/01 05:41:500B / 20B / 27B
2brx480.24352014/10/31 01:50:150B / 15B / 32B
3tybalt89490.06222014/10/21 09:42:570B / ?B / ?B
4tails491.02752014/10/30 18:50:451B / 18B / 26B

Python _

RankUserSizeTimeDateStatistics
1leonid710.37852014/10/22 03:42:060B / 41B / 26B
2hallvabo720.37302014/10/20 22:11:010B / 34B / 38B
3rolf750.21872014/10/21 04:03:030B / 44B / 27B
4xnor710.38982015/06/27 05:49:470B / ?B / ?B

Lua _

RankUserSizeTimeDateStatistics
1teebee910.02622014/10/30 09:46:590B / 55B / 23B
2AndoDaan2520.02562014/10/20 06:56:320B / 164B / 49B

PARI/GP _

RankUserSizeTimeDateStatistics
1teebee590.06102014/10/26 09:55:590B / 32B / 27B

J _

RankUserSizeTimeDateStatistics
1medialuna620.14352014/10/20 15:59:340B / ?B / ?B
2randomra400.03362014/12/22 18:03:340B / ?B / ?B

K _

RankUserSizeTimeDateStatistics
1teebee270.45782014/10/25 04:29:220B / 9B / 18B

C _

RankUserSizeTimeDateStatistics
1int-e750.00012014/11/01 02:18:470B / 39B / 36B
2tails750.00012014/11/01 12:36:320B / 40B / 35B
3llhuii760.01202014/11/01 01:23:120B / 41B / 35B
4fizzie800.01332014/10/26 23:18:360B / 44B / 36B
5%201230.00012014/10/26 20:36:220B / 66B / 54B
6teebee(int-e)730.01192014/11/03 11:01:120B / 40B / 33B
7llhuii(tails,int-e)730.00012014/11/18 22:19:450B / 39B / 34B
8fizzie(int-e)740.01122014/11/03 06:26:260B / 40B / 34B
9int-e (minimal change)740.00012014/11/03 06:37:210B / 40B / 34B

Haskell _

RankUserSizeTimeDateStatistics
1henkma690.01612014/10/30 08:41:020B / 37B / 30B
2int-e690.01832014/11/02 15:08:120B / 37B / 29B

C# _

RankUserSizeTimeDateStatistics
1mtortilla1790.04742014/11/01 07:03:010B / ?B / ?B

AWK _

RankUserSizeTimeDateStatistics
1teebee610.02382014/10/26 16:47:140B / 28B / 33B
2llhuii630.04912014/11/01 01:05:470B / 31B / 32B

sed _

RankUserSizeTimeDateStatistics
1tails1831.69722014/10/21 10:02:220B / 71B / 87B

bc _

RankUserSizeTimeDateStatistics
1teebee560.20052014/10/27 08:43:210B / 27B / 28B

dc _

RankUserSizeTimeDateStatistics
1tails500.01482014/10/30 22:58:150B / 35B / 15B
2fizzie520.45222014/10/24 14:08:390B / 38B / 14B
3fizzie(int-e)490.20992014/11/03 06:24:090B / 36B / 13B

xgawk _

RankUserSizeTimeDateStatistics
1teebee610.03352014/10/26 16:47:500B / 28B / 33B
2llhuii630.08542014/11/01 01:18:520B / 31B / 32B

Whitespace _

RankUserSizeTimeDateStatistics
1%202140.27602014/10/21 23:32:040B / 0B / 0B
2%201750.17172015/03/16 14:34:590B / 0B / 0B

GolfScript _

RankUserSizeTimeDateStatistics
1tails282.86302014/10/20 23:35:170B / 8B / 20B

Burlesque _

RankUserSizeTimeDateStatistics
1fizzie361.07572014/10/21 22:15:240B / 20B / 16B
2AndoDaan830.10792014/10/23 04:44:230B / 41B / 42B

Logo _

RankUserSizeTimeDateStatistics
1teebee671.16452014/11/02 10:39:450B / 38B / 22B

Language Ranking_

RankLangUserSizeScore
1Kteebee2710000
2GolfScripttails289642
3Burlesquefizzie367500
4Jrandomra406750
5Perlteebee475744
6dcfizzie(int-e)495510
7bcteebee564821
8RubyHistocrat564821
9PARI/GPteebee594576
10AWKteebee614426
11xgawkteebee614426
12Logoteebee674029
13Haskellhenkma693913
14Pythonleonid713802
15Cteebee(int-e)733698
16Luateebee912967
17Whitespace%201751542
18C#mtortilla1791508
19sedtails1831475

return top