A236312 a(n) = floor((n + e)^2), where e is the natural logarithm base.
7, 13, 22, 32, 45, 59, 76, 94, 114, 137, 161, 188, 216, 247, 279, 313, 350, 388, 429, 471, 516, 562, 610, 661, 713, 768, 824, 883, 943, 1006, 1070, 1136, 1205, 1275, 1348, 1422, 1499, 1577, 1657, 1740, 1824, 1911, 1999, 2090, 2182, 2277, 2373, 2471, 2572, 2674, 2779
Offset: 0
Keywords
Examples
a(0) = 7 because e^2 = 7.389056... a(1) = 13 because (e + 1)^2 = 13.82561975584874... a(2) = 22 because (e + 2)^2 = 22.2621834127668...
Programs
-
Mathematica
Table[Floor[(n + E)^2], {n, 0, 49}] (* Alonso del Arte, Jan 23 2014 *)
-
PARI
list(maxx)={n=0;ptr=0;while(n
Bill McEachen, Feb 02 2014 -
Python
import math for n in range(99): print(str(int((n+math.e)**2)), end=",")