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!)
A333884 Difference between smallest cube > n and n. 1
1, 7, 6, 5, 4, 3, 2, 1, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

a(n) is the smallest positive number k such that n + k is a cube.

LINKS

Michael De Vlieger, Table of n, a(n) for n = 0..9999

FORMULA

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

MATHEMATICA

Table[Floor[n^(1/3) + 1]^3 - n, {n, 0, 80}]

CROSSREFS

Cf. A000578, A048763, A055400, A068527, A080883, A154840.

Sequence in context: A031099 A260933 A194755 * A055118 A132671 A340258

Adjacent sequences:  A333881 A333882 A333883 * A333885 A333886 A333887

KEYWORD

nonn

AUTHOR

Ilya Gutkovskiy, Apr 08 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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 1 21:27 EDT 2022. Contains 354975 sequences. (Running on oeis4.)