OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..56
EXAMPLE
965 * 973 = 938//945, where // denotes concatenation, so 965 is a term.
PROG
(Python)
from itertools import count, islice
from sympy import sqrt_mod
def A116341_gen(): # generator of terms
for j in count(0):
b = 10**j
a = b*10+1
for k in sorted(sqrt_mod(23, a, all_roots=True)):
if a*(b-7) <= k**2-23 < a*(a-8) and k>4:
yield k-4
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, Feb 06 2006
EXTENSIONS
a(10)-a(12) from Chai Wah Wu, Feb 21 2024
STATUS
approved