login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A111683 n^k - n! where n^k > n! >= n^(k-1). 0
2, 3, 40, 5, 576, 11767, 221824, 168561, 6371200, 174442081, 4680778752, 4377478573, 202076363776, 7342081491375, 260552186822656, 226934809133761, 14420591159943168, 677361585374052121, 30335097991823360000 (list; graph; refs; listen; history; internal format)
OFFSET

2,1

EXAMPLE

a(5) = 125 -120 = 5. 125>120>25.

MATHEMATICA

For[n = 2, n < 20, n++, k := 0; While[n^k <= n!, k++ ]; Print[n^k - n! ]] (Steinerberger)

CROSSREFS

Sequence in context: A153745 A076724 A080393 * A088984 A097170 A176366

Adjacent sequences:  A111680 A111681 A111682 * A111684 A111685 A111686

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Aug 16 2005

EXTENSIONS

More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Jan 26 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 03:45 EST 2012. Contains 205978 sequences.