OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range@ 5040, IntegerQ@ Sqrt@ Floor[# E + Pi] &] (* Michael De Vlieger, Jul 14 2017 *)
PROG
(PARI) is(n)=issquare(floor(exp(1)*n+Pi)) \\ Charles R Greathouse IV, Jul 14 2017
(Python)
from gmpy2 import is_square
from mpmath import *
mp.dps=100
def ok(n): return is_square(int(nint(floor(exp(1)*n + pi))))
print([n for n in range(1, 6001) if ok(n)]) # Indranil Ghosh, Jul 15 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph Wheat, Jul 13 2017
EXTENSIONS
More terms from Charles R Greathouse IV, Jul 14 2017
STATUS
approved