login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
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

Table of n, a(n) for n=0..18.

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 2 07:55 EST 2022. Contains 358493 sequences. (Running on oeis4.)