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

A039802 as a simple table

na(n)
31
4-1
5-1
60
71
82
90
101
11-1
12-2
13-2
14-3
15-2
16-2
171
181
193
204
217
227
238
248
257
265
272
28-1
29-6
30-8
31-15
32-18
33-24
34-27
35-31
36-31
37-35
38-33
39-30
40-27
41-21
42-13
43-4
447
4521
4634
4751
4866
4984
5098
51117
52131
53145
54154
55164
56169
57170
58171
59164
60154
61141
62124
6394
6472
6534

[1,-1,-1,0,1,2,0,1,-1,-2,-2,-3,-2,-2,1,1,3,4,7,7,
 8,8,7,5,2,-1,-6,-8,-15,-18,-24,-27,-31,-31,-35,
 -33,-30,-27,-21,-13,-4,7,21,34,51,66,84,98,117,
 131,145,154,164,169,170,171,164,154,141,124,94,72,
 34]