The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A066908 n^n minus largest factorial less than or equal to n^n. 0
0, 0, 2, 3, 136, 2405, 6336, 460663, 13148416, 347503689, 3772979200, 198133379411, 7608426080256, 281952316704253, 4709633119830016, 316248789972027375, 16013842065532911616, 776149319714627324177 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Although this appears to be increasing rapidly and monotonically, Dave Rusin showed in the usenet discussion that a(4581631) is less than a(4581630): a(4581631)=4581631^4581631-4879731! is less than 8*10^30518328 while a(4581630) is just over 10^30518329.
LINKS
FORMULA
a(n)=n^n-A064318(n)!
EXAMPLE
a(4)=136 since 4^4=256, the largest factorial less than or equal to 256 is 5!=120 and 256-120=136
CROSSREFS
Sequence in context: A007608 A010343 A118169 * A057738 A234999 A254787
KEYWORD
nonn
AUTHOR
Henry Bottomley, Jan 22 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 June 12 14:48 EDT 2024. Contains 373331 sequences. (Running on oeis4.)