OFFSET
1,1
COMMENTS
From Chai Wah Wu, Feb 27 2024: (Start)
If k is a term, then k == 0 (mod 9) or k == 2 (mod 9) (see A370676).
First decimal digit of each term is 3 or larger. (End)
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000 (terms 1..645 from Seiichi Manyama)
EXAMPLE
72576 is in the sequence since its square 5267275776 contains four 7's, two 2's, two 5's and two 6's.
PROG
(Python)
from math import isqrt
from itertools import count, islice
def A114258_gen(): # generator of terms
for l in count(1):
a = isqrt(10**((l<<1)-1))
if (a9:=a%9):
a -= a9
for b in range(a, 10**l, 9):
for c in (0, 2):
k = b+c
if sorted(str(k)*2)==sorted(str(k**2)):
yield k
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Giovanni Resta, Nov 18 2005
STATUS
approved