OFFSET
0,4
FORMULA
Number triangle T(n,k)=2*J(L((n-k+2)/3))[k<=n] where L(j/p) is the Legendre symbol of j and p and J(n)=A001045(n)
EXAMPLE
Triangle begins
1,
0, 1,
2, 0, 1,
1, 2, 0, 1,
0, 1, 2, 0, 1,
2, 0, 1, 2, 0, 1,
1, 2, 0, 1, 2, 0, 1,
0, 1, 2, 0, 1, 2, 0, 1,
2, 0, 1, 2, 0, 1, 2, 0, 1
CROSSREFS
KEYWORD
AUTHOR
Paul Barry, Mar 29 2006
STATUS
approved