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

A016118 as a simple table

na(n)
01
1-1
20
31
4-1
50
61
7-1
80
91
10-1
110
121
13-1
140
151
16-1
170
181
190
20-1
211
220
23-1
241
250
26-1
271
280
29-1
301
310
32-1
331
340
35-1
361
371
38-1
390
401
41-1
420
431
44-1
450
461
47-1
480
491
50-1
510
521
53-1
540
551
560
57-1
581
590
60-1
611
620
63-1
641
650
66-1
671
680
69-1
701
710
72-1
731
741
75-1
760
771
78-1
790
801

[1,-1,0,1,-1,0,1,-1,0,1,-1,0,1,-1,0,1,-1,0,1,0,-1,
 1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,1,-1,0,1,-1,
 0,1,-1,0,1,-1,0,1,-1,0,1,-1,0,1,0,-1,1,0,-1,1,0,
 -1,1,0,-1,1,0,-1,1,0,-1,1,1,-1,0,1,-1,0,1]