login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A157865 as a simple table

na(n)
02
12
21
31
42
51
60
72
80
91
102
111
120
131
141
151
161
171
181
191
201
210
221
230
241
252
261
271
281
290
300
311
321
330
342
350
360
372
380
391
401
411
420
431
441
451
460
471
481
492
500
510
521
530
540
551
561
571
581
591
601
610
621
630
641
651
660
672
680
691
702
710
720
731
740
750
761
771
781
791
800
810
821
830
841
850
861
871
881
891
900
911
920
931
941
951
960
971
980
991
1001
1010
1021
1030
1041

[2,2,1,1,2,1,0,2,0,1,2,1,0,1,1,1,1,1,1,1,1,0,1,0,
 1,2,1,1,1,0,0,1,1,0,2,0,0,2,0,1,1,1,0,1,1,1,0,1,1,
 2,0,0,1,0,0,1,1,1,1,1,1,0,1,0,1,1,0,2,0,1,2,0,0,1,
 0,0,1,1,1,1,0,0,1,0,1,0,1,1,1,1,0,1,0,1,1,1,0,1,0,
 1,1,0,1,0,1]