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!)
A075052 Write down squares and cubes in order, as in A002760. The sequence gives the first differences between terms. 2
1, 3, 4, 1, 7, 9, 2, 9, 13, 15, 17, 19, 21, 4, 19, 25, 27, 20, 9, 31, 33, 35, 19, 18, 39, 41, 43, 28, 17, 47, 49, 51, 53, 55, 57, 59, 61, 39, 24, 65, 67, 69, 71, 35, 38, 75, 77, 79, 81, 47, 36, 85, 87, 89, 91, 81, 12, 95, 97, 99, 101, 103, 40, 65, 107, 109, 111, 113, 115, 11 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Ordered sequence of squares and cubes is as in A002760.
LINKS
FORMULA
a(n) = A002760(n+1) - A002760(n).
EXAMPLE
First sorted squares and cubes are: 0, 1, 4, 8, 9, 16, 25, 27, 36, 49, 64, 81, 100, hence a(1) = 1 - 0 = 1, a(10) = 64 - 49 = 15, a(12) = 100 - 81 = 19.
PROG
(PARI) lista(nn) = {vec = vector(nn, i, i-1); pp = select(i->(issquare(i) || (ispower(i, 3))), vec); for (i=1, #pp-1, print1(pp[i+1] - pp[i], ", "); ); } \\ Michel Marcus, Oct 03 2013
CROSSREFS
Cf. A002760.
Sequence in context: A053289 A076412 A053707 * A111516 A210636 A116392
KEYWORD
nonn
AUTHOR
Zak Seidov, Oct 07 2002
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 16:38 EDT 2024. Contains 371794 sequences. (Running on oeis4.)