OFFSET
1,1
LINKS
Patrick De Geest, Squares containing at most three distinct digits, Index entries for related sequences
Zhao Hui Du, C++ source code
FORMULA
a(n) = sqrt(A053965(n)).
PROG
(Python)
from itertools import product
from sympy import integer_nthroot
A053964_list = []
for l in range(1, 21):
for p in product(*['479']*l):
a, b = integer_nthroot(int(''.join(p)), 2)
if b:
A053964_list.append(a) # Chai Wah Wu, Apr 01 2021
CROSSREFS
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
a(9) from Zhao Hui Du, Feb 29 2024
STATUS
approved