OFFSET
0,1
COMMENTS
The right n terms in a(n) are all 0.
T(n,k) = A070887(n+1,k+1), k=0..n. - Reinhard Zumkeller, Jun 26 2013
REFERENCES
S. Wolfram, A New Kind of Science. Champaign, IL: Wolfram Media, p. 31ff, 2002.
LINKS
Reinhard Zumkeller, Rows n = 0..100 of triangle, flattened
Eric Weisstein's World of Mathematics, Rule 110
S. Wolfram, A New Kind of Science
EXAMPLE
1;
1,1,0;
1,1,1,0,0;
1,1,0,1,0,0,0; ...
MATHEMATICA
A075437list[rowmax_]:=MapIndexed[ArrayPad[#1, #2-rowmax-1]&, CellularAutomaton[110, {{1}, 0}, {rowmax, All}]]; A075437list[10] (* Generates 11 rows *) (* Paolo Xausa, Oct 04 2023 *)
PROG
(Haskell)
a075437 n k = a075437_tabf !! n !! k
a075437_row n = a075437_tabf !! n
a075437_tabf = iterate rule110 [1] where
rule110 row = f ([0, 0] ++ row ++ [0, 0]) where
f [_, _] = []
f (_:ws@(0:0:_)) = 0 : f ws
f (1:ws@(1:1:_)) = 0 : f ws
f (_:ws@(_:_:_)) = 1 : f ws
-- Reinhard Zumkeller, Jun 26 2013
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Eric W. Weisstein, Sep 15 2002
STATUS
approved