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

%I #16 Jan 07 2024 16:25:12

%S 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,

%T 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,

%U 0,1,0,0,1,1,1,1,1,1,1,0,0,1,0,0,1,1,1

%N Triangle read by rows: The k-th column has alternating blocks of k 1's followed by k 0's (see example).

%C This is A010766 read mod 2. - _Antti Karttunen_, Oct 10 2018

%H Andrew Howroyd, <a href="/A319102/b319102.txt">Table of n, a(n) for n = 1..1275</a> (rows 1..50)

%F T(n,k) = floor(n/k) mod 2. - _Andrew Howroyd_, Sep 12 2018

%e The triangle begins:

%e n\k 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ...

%e 1: 1

%e 2: 0 1

%e 3: 1 1 1

%e 4: 0 0 1 1

%e 5: 1 0 1 1 1

%e 6: 0 1 0 1 1 1

%e 7: 1 1 0 1 1 1 1

%e 8: 0 0 0 0 1 1 1 1

%e 9: 1 0 1 0 1 1 1 1 1

%e 10: 0 1 1 0 0 1 1 1 1 1

%e 11: 1 1 1 0 0 1 1 1 1 1 1

%e 12: 0 0 0 1 0 0 1 1 1 1 1 1

%e 13: 1 0 0 1 0 0 1 1 1 1 1 1 1

%e 14: 0 1 0 1 0 0 0 1 1 1 1 1 1 1

%e 15: 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1

%e ...

%o (PARI) T(n,k)=n\k%2; \\ _Andrew Howroyd_, Sep 12 2018

%Y Cf. A010766.

%K nonn,tabl

%O 1

%A _Kritsada Moomuang_, Sep 10 2018

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 September 4 02:28 EDT 2024. Contains 375679 sequences. (Running on oeis4.)