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!)
A342849 Value of n!-r^s in best integer approximation r^s to n! with s >= r. 2
0, 0, 1, 2, -3, -8, -9, 944, -6336, -27745, -565504, -436807, -57869312, 123505175, -6964887627, 208162740224, 1849303559875, -24062405487241, 843313139172477, -9976603433435136, 127058998962946048, -10068148276705106291, -56590892939803623424 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
The best approximation can be smaller or larger than n!; that is, minimize abs(n!-r^s).
LINKS
EXAMPLE
a(4) = 3, since 3^3 - 3 = 24 = 4! (note 5^2-1 = 24 is not allowed because 2 < 5).
a(7) = 944, since 4^6 + 944 = 5040 = 7! and there is no closer approximation.
CROSSREFS
Sequence in context: A364382 A133165 A019307 * A247580 A345352 A028742
KEYWORD
sign
AUTHOR
Sean A. Irvine, Mar 26 2021
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 16 16:13 EDT 2024. Contains 371749 sequences. (Running on oeis4.)