A049039

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

The sequence A049039 is 1 odd number, 2 even numbers, 4 odd numbers, 8 even numbers, ...

Print the first 1023 numbers of this sequence.

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

*NOTHING*

Sample output:

1
2
4
5
7
9
11
12
14
16
18
20
22
24
26
27
29
31
33
35
37
39
41
43
45
47
49
51
53
55
57
58
60
62
64
66
68
70
72
74
76
78
80
82
84
86
88
90
92
94
96
98
100
102
104
106
108
110
112
114
116
118
120
121
123
125
127
129
131
133
135
137
139
141
143
145
147
149
151
153
155
157
159
161
163
165
167
169
171
173
175
177
179
181
183
185
187
189
191
193
195
197
199
201
203
205
207
209
211
213
215
217
219
221
223
225
227
229
231
233
235
237
239
241
243
245
247
248
250
252
254
256
258
260
262
264
266
268
270
272
274
276
278
280
282
284
286
288
290
292
294
296
298
300
302
304
306
308
310
312
314
316
318
320
322
324
326
328
330
332
334
336
338
340
342
344
346
348
350
352
354
356
358
360
362
364
366
368
370
372
374
376
378
380
382
384
386
388
390
392
394
396
398
400
402
404
406
408
410
412
414
416
418
420
422
424
426
428
430
432
434
436
438
440
442
444
446
448
450
452
454
456
458
460
462
464
466
468
470
472
474
476
478
480
482
484
486
488
490
492
494
496
498
500
502
503
505
507
509
511
513
515
517
519
521
523
525
527
529
531
533
535
537
539
541
543
545
547
549
551
553
555
557
559
561
563
565
567
569
571
573
575
577
579
581
583
585
587
589
591
593
595
597
599
601
603
605
607
609
611
613
615
617
619
621
623
625
627
629
631
633
635
637
639
641
643
645
647
649
651
653
655
657
659
661
663
665
667
669
671
673
675
677
679
681
683
685
687
689
691
693
695
697
699
701
703
705
707
709
711
713
715
717
719
721
723
725
727
729
731
733
735
737
739
741
743
745
747
749
751
753
755
757
759
761
763
765
767
769
771
773
775
777
779
781
783
785
787
789
791
793
795
797
799
801
803
805
807
809
811
813
815
817
819
821
823
825
827
829
831
833
835
837
839
841
843
845
847
849
851
853
855
857
859
861
863
865
867
869
871
873
875
877
879
881
883
885
887
889
891
893
895
897
899
901
903
905
907
909
911
913
915
917
919
921
923
925
927
929
931
933
935
937
939
941
943
945
947
949
951
953
955
957
959
961
963
965
967
969
971
973
975
977
979
981
983
985
987
989
991
993
995
997
999
1001
1003
1005
1007
1009
1011
1013
1014
1016
1018
1020
1022
1024
1026
1028
1030
1032
1034
1036
1038
1040
1042
1044
1046
1048
1050
1052
1054
1056
1058
1060
1062
1064
1066
1068
1070
1072
1074
1076
1078
1080
1082
1084
1086
1088
1090
1092
1094
1096
1098
1100
1102
1104
1106
1108
1110
1112
1114
1116
1118
1120
1122
1124
1126
1128
1130
1132
1134
1136
1138
1140
1142
1144
1146
1148
1150
1152
1154
1156
1158
1160
1162
1164
1166
1168
1170
1172
1174
1176
1178
1180
1182
1184
1186
1188
1190
1192
1194
1196
1198
1200
1202
1204
1206
1208
1210
1212
1214
1216
1218
1220
1222
1224
1226
1228
1230
1232
1234
1236
1238
1240
1242
1244
1246
1248
1250
1252
1254
1256
1258
1260
1262
1264
1266
1268
1270
1272
1274
1276
1278
1280
1282
1284
1286
1288
1290
1292
1294
1296
1298
1300
1302
1304
1306
1308
1310
1312
1314
1316
1318
1320
1322
1324
1326
1328
1330
1332
1334
1336
1338
1340
1342
1344
1346
1348
1350
1352
1354
1356
1358
1360
1362
1364
1366
1368
1370
1372
1374
1376
1378
1380
1382
1384
1386
1388
1390
1392
1394
1396
1398
1400
1402
1404
1406
1408
1410
1412
1414
1416
1418
1420
1422
1424
1426
1428
1430
1432
1434
1436
1438
1440
1442
1444
1446
1448
1450
1452
1454
1456
1458
1460
1462
1464
1466
1468
1470
1472
1474
1476
1478
1480
1482
1484
1486
1488
1490
1492
1494
1496
1498
1500
1502
1504
1506
1508
1510
1512
1514
1516
1518
1520
1522
1524
1526
1528
1530
1532
1534
1536
1538
1540
1542
1544
1546
1548
1550
1552
1554
1556
1558
1560
1562
1564
1566
1568
1570
1572
1574
1576
1578
1580
1582
1584
1586
1588
1590
1592
1594
1596
1598
1600
1602
1604
1606
1608
1610
1612
1614
1616
1618
1620
1622
1624
1626
1628
1630
1632
1634
1636
1638
1640
1642
1644
1646
1648
1650
1652
1654
1656
1658
1660
1662
1664
1666
1668
1670
1672
1674
1676
1678
1680
1682
1684
1686
1688
1690
1692
1694
1696
1698
1700
1702
1704
1706
1708
1710
1712
1714
1716
1718
1720
1722
1724
1726
1728
1730
1732
1734
1736
1738
1740
1742
1744
1746
1748
1750
1752
1754
1756
1758
1760
1762
1764
1766
1768
1770
1772
1774
1776
1778
1780
1782
1784
1786
1788
1790
1792
1794
1796
1798
1800
1802
1804
1806
1808
1810
1812
1814
1816
1818
1820
1822
1824
1826
1828
1830
1832
1834
1836
1838
1840
1842
1844
1846
1848
1850
1852
1854
1856
1858
1860
1862
1864
1866
1868
1870
1872
1874
1876
1878
1880
1882
1884
1886
1888
1890
1892
1894
1896
1898
1900
1902
1904
1906
1908
1910
1912
1914
1916
1918
1920
1922
1924
1926
1928
1930
1932
1934
1936
1938
1940
1942
1944
1946
1948
1950
1952
1954
1956
1958
1960
1962
1964
1966
1968
1970
1972
1974
1976
1978
1980
1982
1984
1986
1988
1990
1992
1994
1996
1998
2000
2002
2004
2006
2008
2010
2012
2014
2016
2018
2020
2022
2024
2026
2028
2030
2032
2034
2036

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1llhuii290.00652019/06/16 20:03:050B / 12B / 16B
2olf290.00692019/07/14 12:56:060B / 15B / 13B
3mitchs300.00742019/06/16 19:30:000B / 12B / 18B
4rotary-o320.02732019/07/05 00:28:140B / 12B / 18B
5Histocrat330.01722019/06/18 06:24:470B / 11B / 21B

Ruby2 _

RankUserSizeTimeDateStatistics
1llhuii280.08582019/06/16 19:18:190B / 12B / 16B
2mitchs280.06232019/06/16 19:30:430B / 12B / 16B
3hako300.07632019/09/10 21:04:050B / 16B / 14B
4rotary-o330.09472019/07/05 00:27:540B / 12B / 19B
5letranger360.06732019/06/15 13:56:560B / 19B / 16B
6cympfh430.10432019/06/19 14:03:090B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1llhuii310.01532019/06/16 19:14:150B / 15B / 15B
2tails310.01692019/06/18 17:50:070B / 15B / 15B

Python _

RankUserSizeTimeDateStatistics
1llhuii400.04002019/06/15 22:06:340B / 23B / 16B
2mitchs400.04062019/11/15 23:14:080B / 23B / 15B
3hallvabo420.06192019/06/21 21:45:390B / 26B / 15B
4dianne420.03932019/07/03 01:43:280B / 26B / 14B
5starmie420.03922019/07/03 20:17:210B / ?B / ?B
6rolf580.02422019/06/16 04:04:310B / 34B / 21B
7sgr1580.14792019/09/17 16:16:320B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1llhuii430.15252019/06/16 20:05:280B / 23B / 20B
2mitchs430.16182019/11/15 23:16:150B / 23B / 19B
3dianne440.13702019/07/03 01:41:030B / 28B / 14B
4mypetlion460.05962019/06/20 02:47:100B / 30B / 13B

Common LISP _

RankUserSizeTimeDateStatistics
1ttmh720.17692019/06/16 07:12:380B / 36B / 29B

JavaScript _

RankUserSizeTimeDateStatistics
1letranger490.01902019/06/15 14:00:310B / 33B / 16B
2xulapp490.01952019/06/22 17:49:120B / 29B / 20B

Lua _

RankUserSizeTimeDateStatistics
1Hendrik480.02092019/07/04 01:18:220B / 33B / 12B
2tehtmi480.01492019/07/09 17:05:430B / 30B / 14B

J _

RankUserSizeTimeDateStatistics
1kritixilithos230.02272019/06/19 16:22:420B / 9B / 14B

C _

RankUserSizeTimeDateStatistics
1llhuii530.00012019/06/15 22:18:540B / 25B / 28B
2tails530.00012019/06/15 23:27:300B / 26B / 27B
3nu530.00012019/06/17 15:38:110B / 28B / 25B
4mitchs530.00012019/11/15 23:56:270B / 25B / 28B
5inaniwa560.00012019/06/15 22:45:090B / 29B / 27B

Haskell _

RankUserSizeTimeDateStatistics
1Hendrik500.00382019/07/04 03:37:130B / 35B / 13B

Octave _

RankUserSizeTimeDateStatistics
1Hendrik460.70872019/07/04 22:51:270B / 32B / 13B

AWK _

RankUserSizeTimeDateStatistics
1llhuii360.01262019/06/15 22:12:060B / 20B / 15B
2mitchs360.01112019/11/15 04:39:520B / 20B / 15B

Bash _

RankUserSizeTimeDateStatistics
1eban750.03352019/06/19 20:48:350B / 34B / 35B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1llhuii300.29342019/06/17 22:38:450B / 8B / 20B
2tails300.29232019/06/18 17:52:180B / 8B / 20B
3McBusLuck340.19382019/07/02 00:26:570B / 15B / 16B

dc _

RankUserSizeTimeDateStatistics
1tails260.03352019/06/18 18:37:520B / 19B / 7B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii360.02392019/06/15 22:13:410B / 20B / 15B
2mitchs360.01832019/11/15 05:38:340B / 20B / 15B

R _

RankUserSizeTimeDateStatistics
1clock350.11642019/10/01 02:30:250B / 21B / 14B
2ludo350.28852019/10/08 19:08:060B / 21B / 14B
3olf380.25582019/06/26 22:34:310B / 25B / 13B

Befunge-98 _

RankUserSizeTimeDateStatistics
1gvx1280.06102019/09/04 06:59:390B / 63B / 65B

gs2 _

RankUserSizeTimeDateStatistics
1tails100.13692019/06/16 00:17:593B / 2B / 5B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik200.05052019/06/15 19:09:350B / 13B / 7B

Scala _

RankUserSizeTimeDateStatistics
1clock472.07842019/10/17 23:32:042B / 32B / 13B
2rotary-o483.88472019/06/15 14:49:080B / 36B / 11B
3Hendrik483.64762019/06/15 19:15:050B / 36B / 11B

Language Ranking_

RankLangUserSizeScore
1gs2tails1010000
2BurlesqueHendrik205000
3Jkritixilithos234347
4dctails263846
5Ruby2llhuii283571
6Rubyllhuii293448
7Bash (builtins)llhuii303333
8Perlllhuii313225
9Rclock352857
10AWKllhuii362777
11xgawkllhuii362777
12Pythonllhuii402500
13Python3llhuii432325
14OctaveHendrik462173
15Scalaclock472127
16LuaHendrik482083
17JavaScriptletranger492040
18HaskellHendrik502000
19Cllhuii531886
20Common LISPttmh721388
21Basheban751333
22Befunge-98gvx128781

return to the top page