OFFSET
1,1
COMMENTS
Also numbers k such that k concatenated with itself gives the product of two numbers which differ by 2.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
EXAMPLE
8315420899//8315420896 = 9118892968 * 9118892972, where // denotes concatenation.
PROG
(Python)
from itertools import count, islice
from sympy import sqrt_mod
def A116136_gen(): # generator of terms
for j in count(0):
b = 10**j
a = b*10+1
for k in sorted(sqrt_mod(1, a, all_roots=True)):
if a*(b+3) <= k**2-1 < a*(a+2):
yield (k**2-1)//a
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, Feb 06 2006
EXTENSIONS
Edited by N. J. A. Sloane, Apr 15 2007
a(29)-a(32) from Chai Wah Wu, Feb 19 2024
STATUS
approved