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!)
A090971 Sierpiński's triangle, read by rows, starting from 1: T(n,k) = (T(n-1,k) + T(n-1,k-1)) mod 2. 3
1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Row sums give A038573.
LINKS
FORMULA
From Philippe Deléham, Feb 29 2004: (Start)
Triangle A047999(n, k) for n,k > 0; A047999: Pascal's triangle mod 2.
a(n) = A062534(n-1) mod 2.
T(n-1, k-1) = A074909(n, n-k) mod 2.
EXAMPLE
Triangle begins with:
1;
0, 1;
1, 1, 1;
0, 0, 0, 1;
1, 0, 0, 1, 1;
0, 1, 0, 1, 0, 1;
1, 1, 1, 1, 1, 1, 1; ...
MATHEMATICA
T[n_, k_]:= T[n, k]= If[k<0 || k>n, 0, If[k==n, 1, Mod[T[n-1, k] + T[n-1, k-1], 2]]]; Table[T[n, k], {n, 1, 10}, {k, 1, n}] (* G. C. Greubel, Feb 03 2019 *)
PROG
(PARI) T(n, k)=if(k<0 || k>n, 0, if(n==0, 1, (T(n-1, k)+T(n-1, k-1))%2))
CROSSREFS
Sequence in context: A267814 A267272 A181656 * A105594 A091949 A039984
KEYWORD
nonn,tabl
AUTHOR
Benoit Cloitre, Feb 28 2004
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 April 25 05:56 EDT 2024. Contains 371964 sequences. (Running on oeis4.)