OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..1187
EXAMPLE
99000099 * 99000103 = 98010199//98010197, where // denotes concatenation.
PROG
(Python)
from itertools import count, islice
from sympy import sqrt_mod
def A116275_gen(): # generator of terms
for j in count(0):
b = 10**j
a = b*10+1
for k in sorted(sqrt_mod(2, a, all_roots=True)):
if a*(b+3) <= k**2-2 < a*(a+2):
yield k-2
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, Feb 06 2006
EXTENSIONS
a(16)-a(18) from Chai Wah Wu, Feb 19 2024
STATUS
approved