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!)
A089988 Possible differences of n^2*(n+1)/2. 0
5, 12, 17, 22, 34, 35, 39, 51, 57, 69, 70, 74, 86, 92, 108, 117, 120, 121, 125, 145, 156, 162, 176, 178, 190, 195, 209, 210, 213, 247, 248, 262, 270, 279, 282, 287, 321, 330, 354, 365, 376, 386, 387, 399, 404, 424 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Vaguely related to x^3+y^3=z^3, as x^3=2x.A000217(x) - x^2, e.g. 3^3=2.3.6 - 9 = 27.
LINKS
FORMULA
n^2*(n+1)/2 - m^2*(m+1)/2 for all n>m
EXAMPLE
5^2*(5+1)/2=25*3=75 and 3^2*(3+1)/2=9*2=18, so 75-18=57 is in the sequence
PROG
(PARI) { v=vector(300); c=0; for (i=1, 20, for (j=i, 20, v[c++ ]=tn(j)-tn(i))); v=vecsort(v); v }
CROSSREFS
Cf. A000217, A002411 (pentagonal pyramidal numbers).
Sequence in context: A314284 A293034 A314285 * A314286 A314287 A135459
KEYWORD
nonn
AUTHOR
Jon Perry, Jan 14 2004
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 3 20:36 EDT 2024. Contains 373088 sequences. (Running on oeis4.)