login
A129573
3
1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1
OFFSET
1,1
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1275 (rows 1..50)
FORMULA
A097806 * A129372 as infinite lower triangular matrices.
EXAMPLE
First few rows of the triangle are:
1;
1, 1;
1, 1, 1;
1, 0, 1, 1;
1, 0, 0, 1, 1;
1, 1, 0, 0, 1, 1;
1, 1, 0, 0, 0, 1, 1;
1, 0, 0, 0, 0, 0, 1, 1;
...
PROG
(PARI) T(n, k)=(n%k==0 && n/k%2) || ((n-1)%k==0 && (n-1)/k%2) \\ Andrew Howroyd, Aug 10 2018
CROSSREFS
Row sums are A129574.
Sequence in context: A075743 A136705 A141646 * A330887 A181652 A071024
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Apr 22 2007
EXTENSIONS
Duplicate a(35) removed and terms a(56) and beyond from Andrew Howroyd, Aug 10 2018
STATUS
approved