login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Cf. A000142, A066857, A214083.

Sequence in context: A301280 A153366 A057553 * A006217 A281870 A116914

Adjacent sequences:  A226970 A226971 A226972 * A226974 A226975 A226976

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 15 05:01 EDT 2021. Contains 343909 sequences. (Running on oeis4.)