login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A116275
Numbers k such that k*(k+4) gives the concatenation of two numbers m and m-2.
6
8872, 9009, 83352840, 99000099, 329767122286, 670232877711, 738226276371, 933006600339, 999000000999, 3779410975143113, 3872816717528065, 4250291784692548, 4278630943941865, 4372036686326817, 4749511753491300, 5250488246508697, 5627963313673180, 5721369056058132
OFFSET
1,1
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
A116275_list = list(islice(A116275_gen(), 30)) # Chai Wah Wu, Feb 19 2024
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, Feb 06 2006
EXTENSIONS
a(16)-a(18) from Chai Wah Wu, Feb 19 2024
STATUS
approved