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”).

A116267
Numbers k such that k*(k+4) gives the concatenation of two numbers m and m-3.
6
8, 98, 426, 571, 725, 844, 998, 7808, 9998, 36363, 63634, 99998, 326732, 673265, 999998, 4545452, 5454545, 9999998, 47058821, 52941176, 99999998, 331983805, 332667332, 384615384, 422892896, 475524475, 524475522, 577107101, 615384613, 667332665, 668016192, 719964244
OFFSET
1,1
PROG
(Python)
from itertools import count, islice
from sympy import sqrt_mod
def A116267_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
A116267_list = list(islice(A116267_gen(), 20)) # Chai Wah Wu, Feb 19 2024
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, Feb 06 2006
EXTENSIONS
a(29)-a(32) from Chai Wah Wu, Feb 19 2024
STATUS
approved