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”).

A157128 as a simple table

na(n)
01
1-1
2-1
3-1
42
51
61
7-3
8-1
9-1
104
111
121
13-5
14-1
15-1
166
171
181
19-7
20-1
21-1
228
231
241
25-9
26-1
27-1
2810
291
301
31-11
32-1
33-1
3412
351
361
37-13
38-1
39-1
4014
411
421
43-15
44-1
45-1
4616
471
481
49-17
50-1
51-1
5218
531
541
55-19
56-1
57-1
5820
591
601

[1,-1,-1,-1,2,1,1,-3,-1,-1,4,1,1,-5,-1,-1,6,1,1,
 -7,-1,-1,8,1,1,-9,-1,-1,10,1,1,-11,-1,-1,12,1,1,
 -13,-1,-1,14,1,1,-15,-1,-1,16,1,1,-17,-1,-1,18,1,
 1,-19,-1,-1,20,1,1]