login
A053918
Numbers k such that k^2 contains only digits {2,3,5}.
2
5, 15, 235, 485, 1885, 5765, 15885, 50235, 57665, 72335, 1798765, 15249765, 187703365, 179876492415, 159789024443333515, 576387476638096486959455635
OFFSET
1,1
PROG
(Python) # see link for faster version
def aupto(limit):
alst = []
for k in range(1, limit+1):
if set(str(k*k)) <= set("235"): alst.append(k)
return alst
print(aupto(2*10**6)) # Michael S. Branicky, May 15 2021
CROSSREFS
Cf. A053919.
Sequence in context: A004130 A088869 A134715 * A053926 A216463 A213147
KEYWORD
nonn,base,more
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