The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A118169 Minimum values of abs(n^n-x!) for given n. 2
 0, 0, 2, 3, 136, 1915, 6336, 460663, 13148416, 91581111, 3772979200, 198133379411, 7608426080256, 52812321503747, 4709633119830016, 316248789972027375, 16013842065532911616, 296760465891270915823, 13494391336411560935424 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS EXAMPLE 3^3 = 27, the closest x! can get to 27 is 4! = 24, so a(3) = 3^3 - 4! = 3 MATHEMATICA Join[{0, 0}, With[{fc=Range[200]!}, Drop[Flatten[Table[Abs[n^n-Nearest[ fc, n^n]], {n, 18}]], 2]]] (* Harvey P. Dale, Jan 02 2016 *) CROSSREFS Cf. A118167, A118170. Sequence in context: A139129 A007608 A010343 * A066908 A057738 A234999 Adjacent sequences:  A118166 A118167 A118168 * A118170 A118171 A118172 KEYWORD easy,nonn AUTHOR Olaf Voß, Apr 13 2006 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.

Last modified April 10 19:06 EDT 2021. Contains 342853 sequences. (Running on oeis4.)