OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..958
EXAMPLE
Rotating 103 gives 310 and 310 = 3 * 103 + 1. - Sean A. Irvine, Aug 04 2020
PROG
(Python)
from itertools import count, islice
def A034180_gen(): # generator of terms
for l in count(1):
clist = []
for k in range(1, 10):
a, b = 10**l-k, 10**(l-1)-k
for m in range(1, 10):
q, r = divmod(m*a-1, 10*k-1)
if r == 0 and b <= q - k <= a:
clist.append(10*q+m)
yield from sorted(clist)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Terms sorted and title clarified by Sean A. Irvine, Aug 04 2020
a(19) corrected by Chai Wah Wu, Apr 23 2022
STATUS
approved