login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A248469
a(n) = floor((2*n^2)/e).
0
0, 2, 6, 11, 18, 26, 36, 47, 59, 73, 89, 105, 124, 144, 165, 188, 212, 238, 265, 294, 324, 356, 389, 423, 459, 497, 536, 576, 618, 662, 707, 753, 801, 850, 901, 953, 1007, 1062, 1119, 1177, 1236, 1297, 1360, 1424, 1489, 1556, 1625, 1695, 1766, 1839
OFFSET
1,2
FORMULA
a(n) = floor((2*n^2)/e).
MATHEMATICA
Table[Floor[(2 n^2)/ E ], {n, 1, 60}] (* Vincenzo Librandi, Oct 23 2014 *)
PROG
(Java) int a(int n) {return (int) ((2*Math.pow(x, 2))/Math.exp(1.0)); }
(PARI) a(n) = (2*n^2)\exp(1) \\ Michel Marcus, Oct 25 2014
CROSSREFS
Cf. A032635 (floor(n^2/e)).
Sequence in context: A298872 A298875 A329598 * A331952 A225386 A037258
KEYWORD
nonn,easy
AUTHOR
Juliann Barbella, Oct 06 2014
EXTENSIONS
More terms from Vincenzo Librandi, Oct 23 2014
STATUS
approved