login
The OEIS is supported by
the many generous donors to the OEIS Foundation
.
Hints
(Greetings from
The On-Line Encyclopedia of Integer Sequences
!)
A006140
as a simple table
n
a(n)
0
1
1
1
2
-2
3
2
4
-2
5
1
6
0
7
1
8
-2
9
0
10
2
11
0
12
-1
13
-2
14
2
15
1
16
0
17
-2
18
2
19
-2
[1,1,-2,2,-2,1,0,1,-2,0,2,0,-1,-2,2,1,0,-2,2,-2]