login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A319102 Triangle read by rows: The k-th column has alternating blocks of k 1's followed by k 0's (see example). 1
1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1
COMMENTS
This is A010766 read mod 2. - Antti Karttunen, Oct 10 2018
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1275 (rows 1..50)
FORMULA
T(n,k) = floor(n/k) mod 2. - Andrew Howroyd, Sep 12 2018
EXAMPLE
The triangle begins:
n\k 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ...
1: 1
2: 0 1
3: 1 1 1
4: 0 0 1 1
5: 1 0 1 1 1
6: 0 1 0 1 1 1
7: 1 1 0 1 1 1 1
8: 0 0 0 0 1 1 1 1
9: 1 0 1 0 1 1 1 1 1
10: 0 1 1 0 0 1 1 1 1 1
11: 1 1 1 0 0 1 1 1 1 1 1
12: 0 0 0 1 0 0 1 1 1 1 1 1
13: 1 0 0 1 0 0 1 1 1 1 1 1 1
14: 0 1 0 1 0 0 0 1 1 1 1 1 1 1
15: 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1
...
PROG
(PARI) T(n, k)=n\k%2; \\ Andrew Howroyd, Sep 12 2018
CROSSREFS
Cf. A010766.
Sequence in context: A091949 A039984 A153639 * A103582 A129565 A225145
KEYWORD
nonn,tabl
AUTHOR
Kritsada Moomuang, Sep 10 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 08:02 EDT 2024. Contains 371236 sequences. (Running on oeis4.)