login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A055400 Cube excess: difference between n and largest cube <= n. 8
0, 0, 1, 2, 3, 4, 5, 6, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..1000

FORMULA

a(n) = n - A048762(n) = n - floor(n^(1/3))^3.

a(n) < 3*n^(2/3) for n > 0. - Charles R Greathouse IV, Sep 02 2015

EXAMPLE

a(12) = 4 because 2^3 <= 12 < 3^3 and 12 - 2^3 = 4.

MAPLE

A055400 := proc(n)

        n-A048762(n) ;

end proc:

seq(A055400(n), n=0..80) ; # R. J. Mathar, Nov 06 2011

MATHEMATICA

Array[#-Floor[Power[#, (3)^-1]]^3&, 90, 0] (* Harvey P. Dale, Jan 18 2012 *)

PROG

(PARI) a(n)=n-sqrtnint(n, 3)^3 \\ Charles R Greathouse IV, Sep 02 2015

CROSSREFS

Cf. A048762, A053186, A055401.

Sequence in context: A037885 A031007 A010876 * A257847 A194757 A070553

Adjacent sequences:  A055397 A055398 A055399 * A055401 A055402 A055403

KEYWORD

easy,nonn

AUTHOR

Henry Bottomley, May 16 2000

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 24 18:12 EDT 2019. Contains 326295 sequences. (Running on oeis4.)