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