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!)
A069703 a(n) = n! - n^k where n^(k+1) > n! >= n^k. 1
0, 0, 3, 8, 95, 504, 2639, 7552, 303831, 2628800, 20429629, 49019904, 5411290079, 66517244416, 731023977375, 3330603843584, 321415531788367, 5245542324301824, 79592116946574941, 794502008176640000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
f[n_] := Block[{k = 0}, While[(n! - n^k) >= 0, k++ ]; Return[n! - n^(k - 1)]]; Table[ f[n], {n, 2, 22}]
CROSSREFS
Sequence in context: A079657 A136309 A266671 * A114737 A233163 A281709
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Apr 07 2002
EXTENSIONS
Edited and extended by Robert G. Wilson v, Apr 08 2002
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 May 3 20:19 EDT 2024. Contains 372222 sequences. (Running on oeis4.)