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!)
A144083 Triangle read by rows: partial sums from the right of an A010892 subsequences decrescendo triangle. 1
1, 2, 1, 2, 2, 1, 1, 2, 2, 1, 0, 1, 2, 2, 1, 0, 0, 1, 2, 2, 1, 1, 0, 0, 1, 2, 2, 1, 2, 1, 0, 0, 1, 2, 2, 1, 2, 2, 1, 0, 0, 1, 2, 2, 1, 1, 2, 2, 1, 0, 0, 1, 2, 2, 1, 0, 1, 2, 2, 1, 0, 0, 1, 2, 2, 1, 0, 0, 1, 2, 2, 1, 0, 0, 1, 2, 2, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
n-th row = (n+1) terms of an infinitely periodic cycle: (..., 1, 0, 0, 1, 2, 2, 1, 0, 0, 1, 2, 2, 1), shifting to the right one place for the next row.
Construct an A010892 decrescendo triangle: (1; 1,1; 0,1,1; -1,0,1,1; ...) and take partial sums starting from the right.
LINKS
FORMULA
T(n, k) = 1 + A010892(n-k-1), with 0 <= k <= n. - Stefano Spezia, Feb 11 2023
EXAMPLE
First few rows of the triangle:
1;
2, 1;
2, 2, 1;
1, 2, 2, 1;
0, 1, 2, 2, 1;
0, 0, 1, 2, 2, 1;
1, 0, 0, 1, 2, 2, 1;
2, 1, 0, 0, 1, 2, 2, 1;
2, 2, 1, 0, 0, 1, 2, 2, 1;
1, 2, 2, 1, 0, 0, 1, 2, 2, 1;
0, 1, 2, 2, 1, 0, 0, 1, 2, 2, 1;
...
Row 3 = (1, 2, 2, 1) = partial sums of (-1, 0, 1, 1).
MATHEMATICA
A010892[n_]:={1, 1, 0, -1, -1, 0}[[Mod[n, 6]+1]]; T[n_, k_]:=1+A010892[n-k-1]; Table[T[n, k], {n, 0, 11}, {k, 0, n}]//Flatten (* Stefano Spezia, Feb 11 2023 *)
CROSSREFS
Cf. A010892, A077859 (row sums), A164965 (1st column).
Sequence in context: A156257 A097867 A075344 * A332292 A054350 A026606
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Sep 10 2008
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 July 28 13:15 EDT 2024. Contains 374695 sequences. (Running on oeis4.)