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

A338161 as a simple table

na(n)
11
2-2
34
4-3
5-5
611
7-6
8-7
98
109
1110
1212
1313
14-14
15-16
16-15
17-17
1818
1919
20-20
2121
2222
2323
2424
2525
26-26
27-27
28-34
29-28
30-29
31-30
3231
3332
3433
3535
36-36
3737
3838
3939
4040
4141
42-42
43-43
44-44
45-57
46-45
47-46
48-47
4948
5049
51-50
5251
5352
5453
55-55
5654
5756
5858
5959
6060
6161
62-62
63-63
64-64
65-65
66-83
67-66
68-67
69-68
70-69
7170
7271

[1,-2,4,-3,-5,11,-6,-7,8,9,10,12,13,-14,-16,-15,
 -17,18,19,-20,21,22,23,24,25,-26,-27,-34,-28,-29,
 -30,31,32,33,35,-36,37,38,39,40,41,-42,-43,-44,
 -57,-45,-46,-47,48,49,-50,51,52,53,-55,54,56,58,
 59,60,61,-62,-63,-64,-65,-83,-66,-67,-68,-69,70,
 71]