login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A034180 Numbers m with property that rotating digits of m right gives k*m + 1 for some k >= 1. 2
103, 1052, 1139, 2758, 26315, 206896, 1012658, 15789473, 137931034, 183673469, 3157894736, 421052631578, 1020408163265, 2105263157894, 13559322033898, 36842105263157, 241379310344827, 1525423728813559, 11392405063291139 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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)
A034180_list = list(islice(A034180_gen(), 20)) # Chai Wah Wu, Apr 23 2022
CROSSREFS
Sequence in context: A262758 A023355 A113629 * A076460 A346499 A245495
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 19:06 EDT 2024. Contains 371962 sequences. (Running on oeis4.)