The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A333516 Irregular triangle read by rows in which row n lists the first A000217(n) terms of A002260, n >= 1. 5
 1, 1, 1, 2, 1, 1, 2, 1, 2, 3, 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5, 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 7, 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,4 COMMENTS a(n) equals the difference between n and the largest number less than n that can be expressed as the sum of the i-th triangular number and the j-th tetrahedral number for integers i < j. LINKS FORMULA a(n) = A002260(A124171(n)). EXAMPLE Triangle begins: 1; 1, 1, 2; 1, 1, 2, 1, 2, 3; 1, 1, 2, 1, 2, 3, 1, 2, 3, 4; 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5; 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6; 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 7; ... MAPLE T:= n-> seq([\$1..i][], i=1..n): seq(T(n), n=1..7); # Alois P. Heinz, Apr 10 2020 CROSSREFS Row sums give A000292. Right border gives A000027. Cf. A000217, A002260, A124171. Sequence in context: A175190 A317685 A257540 * A228202 A308972 A137900 Adjacent sequences: A333513 A333514 A333515 * A333517 A333518 A333519 KEYWORD nonn,easy,tabf AUTHOR Andrew Slattery, Mar 25 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.

Last modified March 25 23:47 EDT 2023. Contains 361529 sequences. (Running on oeis4.)