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!)
A141662 Triangle read by rows, T(n,m) = abs(n - m^2). 1
0, 1, 0, 2, 1, 2, 3, 2, 1, 6, 4, 3, 0, 5, 12, 5, 4, 1, 4, 11, 20, 6, 5, 2, 3, 10, 19, 30, 7, 6, 3, 2, 9, 18, 29, 42, 8, 7, 4, 1, 8, 17, 28, 41, 56, 9, 8, 5, 0, 7, 16, 27, 40, 55, 72, 10, 9, 6, 1, 6, 15, 26, 39, 54, 71, 90 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
Row sums are {0, 1, 5, 12, 24, 45, 75, 116, 170, 239, 327, ...}.
For n >= 1, the last number in row n is A002378(n-1).
LINKS
FORMULA
t(n,m) = abs(n - m^2).
EXAMPLE
Triangle begins
{ 0},
{ 1, 0},
{ 2, 1, 2},
{ 3, 2, 1, 6},
{ 4, 3, 0, 5, 12},
{ 5, 4, 1, 4, 11, 20},
{ 6, 5, 2, 3, 10, 19, 30},
{ 7, 6, 3, 2, 9, 18, 29, 42},
{ 8, 7, 4, 1, 8, 17, 28, 41, 56},
{ 9, 8, 5, 0, 7, 16, 27, 40, 55, 72},
{10, 9, 6, 1, 6, 15, 26, 39, 54, 71, 90}
MATHEMATICA
T[n_, m_] = Abs[n - m^2]; Table[T[n, m], {n, 0, 10}, {m, 0, n}] // Flatten]
PROG
(PARI) for(n=0, 10, for(m=0, n, print1(abs(n - m^2), ", "))) \\ G. C. Greubel, Jun 08 2018
CROSSREFS
Cf. A002378.
Sequence in context: A328266 A359895 A115116 * A328383 A088062 A248886
KEYWORD
nonn,easy,tabl
AUTHOR
Roger L. Bagula, Sep 05 2008
EXTENSIONS
Edited by N. J. A. Sloane, Jan 06 2009
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 April 19 15:11 EDT 2024. Contains 371794 sequences. (Running on oeis4.)