OFFSET
1,5
LINKS
Peter Kagey, Table of n, a(n) for n = 1..5000
EXAMPLE
The array is constructed along its antidiagonals, in the following way:
.
a(1) a(3) a(6) a(10)
a(2) a(5) a(9)
a(4) a(8)
a(7)
.
----------------------------------------------------------
n a(n) array
----------------------------------------------------------
1 0 0
.
2 1 0
1
.
3 1 0 1
1
.
4 1 0 1
1
1
.
5 3 0 1
1 3
1
.
6 1 0 1 1
1 3
1
For example, a(5) = 3 because 5 has the same parity as a(2), a(3), and a(4), which are in the same row, column, and antidiagonal, respectively.
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Alec Jones, Dec 24 2016
STATUS
approved