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!)
A339379 Irregular triangle read by rows; the first row simply contains the value 1; given the succession of digits of the n-th row, say [d_0, ..., d_k], the (n+1)-th row is the succession of digits of [d_0, d_0+d_1, d_1+d_2, ..., d_{k-1}+d_k, d_k]. 2
1, 1, 1, 1, 2, 1, 1, 3, 3, 1, 1, 4, 6, 4, 1, 1, 5, 1, 0, 1, 0, 5, 1, 1, 6, 6, 1, 1, 1, 5, 6, 1, 1, 7, 1, 2, 7, 2, 2, 6, 1, 1, 7, 1, 1, 8, 8, 3, 9, 9, 4, 8, 7, 2, 8, 8, 1, 1, 9, 1, 6, 1, 1, 1, 2, 1, 8, 1, 3, 1, 2, 1, 5, 9, 1, 0, 1, 6, 9, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
This sequence combines features of Pascal's triangle (A007318) and of A093086.
Rows 0 to 4 match that of Pascal's triangle, thereafter the values differ.
Every column is eventually periodic.
LINKS
EXAMPLE
The first rows are:
1
1, 1
1, 2, 1
1, 3, 3, 1
1, 4, 6, 4, 1
1, 5, 1, 0, 1, 0, 5, 1
1, 6, 6, 1, 1, 1, 5, 6, 1
1, 7, 1, 2, 7, 2, 2, 6, 1, 1, 7, 1
1, 8, 8, 3, 9, 9, 4, 8, 7, 2, 8, 8, 1
1, 9, 1, 6, 1, 1, 1, 2, 1, 8, 1, 3, 1, 2, 1, 5, 9, 1, 0, 1, 6, 9, 1
PROG
(PARI) { r = [1]; for (n=0, 9, apply (v -> print1 (v ", "), r); d = concat(apply(v -> if (v, digits(v), [0]), r)); r = concat(apply(v -> if (v, di
gits(v), [0]), vector(#d+1, k, if (k==1, d[k], k==#d+1, d[#d], d[k-1]+d[k]))))) }
CROSSREFS
See A339359 for a similar sequence.
Sequence in context: A008975 A140280 A140586 * A095143 A242312 A140279
KEYWORD
nonn,base,tabf,easy
AUTHOR
Rémy Sigrist, Dec 02 2020
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 19 04:26 EDT 2024. Contains 370952 sequences. (Running on oeis4.)