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!)
A226973 Difference between n! and the largest cube < n!. 2
1, 1, 5, 16, 56, 208, 127, 1016, 4969, 47223, 264979, 789832, 7668081, 4272696, 130217625, 883909125, 9969785792, 52152119144, 128092980744, 2166664965184, 29992267884032, 272465658461528, 1588888484126208, 10747891377020979, 5480400487212279, 70703132766750784, 1908984584702271168 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Also, smallest number k such that n! - k is a cube.
Sequence is not monotonic: a(n) < a(n-1) for n: 7, 14, 25, 30, 51, 106, 168, 279, 288.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..500
FORMULA
a(n) = n! - floor (n!^(1/3))^3 = A000142(n) - A214083(n)^3.
EXAMPLE
a(2) = 2! - 1^3 = 1, a(3) = 3! - 1^3 = 5, a(4) = 4! - 3^3 = 16.
MATHEMATICA
Join[{1}, Table[n! - Floor[(n!)^(1/3)]^3, {n, 2, 30}]]
PROG
(PARI) a(n)=my(N=n!); N-sqrtnint(N, 3)^3 \\ Charles R Greathouse IV, Jun 25 2013
CROSSREFS
Sequence in context: A301280 A153366 A057553 * A006217 A281870 A116914
KEYWORD
nonn
AUTHOR
Zak Seidov, Jun 25 2013
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 May 13 14:08 EDT 2024. Contains 372519 sequences. (Running on oeis4.)