login
A096228
a(n) = floor(n^2*((n-1)/n)^(n-1/2)).
0
0, 1, 3, 5, 9, 13, 17, 23, 29, 36, 44, 52, 62, 72, 82, 94, 106, 119, 132, 147, 162, 178, 194, 211, 229, 248, 268, 288, 309, 331, 353, 376, 400, 425, 450, 476, 503, 531, 559, 588, 618, 648, 680, 712, 744, 778, 812, 847, 883, 919, 956, 994, 1033, 1072, 1112, 1153
OFFSET
1,3
COMMENTS
From a mistake made in Stirling's approximation to a ratio of factorials that gives a relatively slow quadratic sequence.
Actually Stirling's ratio limit is: limit_{n-> Infinity} ((n-1)/n)^(n-1/2) = 1/e.
MATHEMATICA
a=Table[Floor[n^2*((n-1)/n)^(n-1/2)], {n, 1, 200}]
CROSSREFS
Sequence in context: A063915 A340520 A183859 * A185170 A211340 A061571
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Aug 09 2004
EXTENSIONS
Offset corrected by Georg Fischer, Aug 31 2021
STATUS
approved