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!)
A235496 a(n) = round(n^n/n!). 2
1, 1, 2, 5, 11, 26, 65, 163, 416, 1068, 2756, 7148, 18614, 48639, 127463, 334865, 881658, 2325751, 6145597, 16263866, 43099804, 114356611, 303761260, 807692035, 2149632061, 5726042115, 15264691107, 40722913454, 108713644516, 290404350963, 776207020880 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
We have two versions of this sequence, this and A240571, because there is no universal agreement on how to round a number like 9/2. - N. J. A. Sloane, Dec 13 2015
LINKS
FORMULA
a(n) = Round(A000312(n)/A000142(n)).
MAPLE
a:= n-> round(n^n/n!):
seq(a(n), n=0..32); # Alois P. Heinz, Dec 13 2015
MATHEMATICA
Table[Floor[n^n/n! + 1/2], {n, 40}]
PROG
(Magma) [Round(n^n/Factorial(n)): n in [1..40]];
(PARI) s=[]; for(n=1, 30, s=concat(s, round(n^n/n!))); s \\ Colin Barker, Jan 19 2014
CROSSREFS
See A240571 for another version.
Sequence in context: A182053 A306563 A308060 * A025245 A300125 A307576
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 15 2014
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 April 16 02:53 EDT 2024. Contains 371696 sequences. (Running on oeis4.)