OFFSET
1,1
LINKS
FORMULA
a(n) = A053918(n)^2.
PROG
(Python) # see link in A053918 for a faster version
from math import isqrt
def aupto(limit):
alst, rootlimit = [], isqrt(limit)
for k in range(1, rootlimit+1):
if set(str(k*k)) <= set("235"): alst.append(k*k)
return alst
print(aupto(4*10**12)) # Michael S. Branicky, May 15 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Mar 15 2000
EXTENSIONS
More terms from C. Ronaldo (aga_new_ac(AT)hotmail.com), Jan 03 2005
One more term from Mishima's webpage added by Max Alekseyev, Jun 17 2011
a(16) from Zhao Hui Du, Feb 29 2024
STATUS
approved