Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A066857
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A066857 Smallest number k such that n! - k is a square +0
3
0, 1, 2, 8, 20, 44, 140, 320, 476, 3584, 12311, 4604, 74879, 414119, 2071775, 5703551, 11551671, 45680444, 442548224, 1960632176, 2657058876, 24923993276, 130518272975, 1478154932316, 5446454455004, 38610655379975 (list; graph; listen)
OFFSET

1,3

FORMULA

a(n) = A053186(n!) = n!-A048760(n!) = n!-floor(sqrt(n!))^2 = n!-A055226(n)^2.

EXAMPLE

a(10) = 3628800 - 1904 * 1904 = 3628800 - 3625216 = 3584.

MATHEMATICA

Table[n! - Floor[Sqrt[n! ]]^2, {n, 1, 27}]

CROSSREFS

Cf. A068869.

Sequence in context: A009303 A096586 A131128 this_sequence A058405 A133326 A024997

Adjacent sequences: A066854 A066855 A066856 this_sequence A066858 A066859 A066860

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)lhsystems.com), Jan 21, 2002

EXTENSIONS

More terms from Vladeta Jovovic (vladeta(AT)Eunet.yu), Mar 21 2002

Edited by Robert G. Wilson v (rgwv(AT)rgwv.com) and njas, Mar 22 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research