The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A139038 Triangle read by rows: T(n,m) = A000931(m+6) if m <= floor(n/2), A000931(n+6-m) otherwise, for 0 <= m <= n. 4
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 1, 2, 2, 3, 2, 2, 1, 1, 1, 1, 2, 2, 3, 3, 2, 2, 1, 1, 1, 1, 2, 2, 3, 4, 3, 2, 2, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,13
COMMENTS
The Padovan sequence is pushed back to a(-1)=1, so that the triangle is not almost all ones.
LINKS
EXAMPLE
The triangle begins:
1;
1, 1;
1, 1, 1;,
1, 1, 1, 1;
1, 1, 2, 1, 1;
1, 1, 2, 2, 1, 1;
1, 1, 2, 2, 2, 1, 1;
1, 1, 2, 2, 2, 2, 1, 1;
1, 1, 2, 2, 3, 2, 2, 1, 1;
1, 1, 2, 2, 3, 3, 2, 2, 1, 1;
1, 1, 2, 2, 3, 4, 3, 2, 2, 1, 1;
...
MATHEMATICA
a[-1] = 1; a[0] = 1; a[1] = 1; a[n_] := a[n] = a[n - 2] + a[n - 3]; (* Padovan : A000931 *)
Table[If[m <= Floor[n/2], a[m], a[n - m]], {n, 0, 10}, {m, 0, n}]
CROSSREFS
Sequence in context: A155052 A096284 A163100 * A322812 A259094 A306741
KEYWORD
nonn,tabl,less
AUTHOR
EXTENSIONS
Edited by N. J. A. Sloane, Feb 28 2009
Non-ASCII characters in %t line corrected by Wouter Meeussen, Feb 10 2013
Definition corrected and offset changed by Georg Fischer, May 16 2024
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 June 11 13:44 EDT 2024. Contains 373311 sequences. (Running on oeis4.)