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!)
A116437 Numbers k which when sandwiched between two 2's give a multiple of k. 9
1, 2, 11, 13, 14, 22, 26, 77, 91, 137, 146, 274, 9091, 19802, 909091, 5882353, 10989011, 12987013, 13986014, 15037594, 21978022, 25974026, 52631579, 76923077, 90909091, 198019802, 1652892562, 4347826087, 8695652174, 9090909091, 13698630137, 14598540146, 27397260274 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
77 belongs since 2772 is a multiple of 77 (77*36).
MATHEMATICA
f[k_, d_] := Flatten@Table[Select[Divisors[k*(10^(i + 1) + 1)], IntegerLength[ # ] == i &], {i, d}]; f[2, 10] (* Ray Chandler, May 11 2007 *)
PROG
(Python)
from sympy import isprime
from itertools import count, islice
def agen(): # generator of terms
yield from [1, 2]
for k in count(2):
t = 2*(10**(k+1) + 1)
yield from (t//i for i in range(200, 20, -1) if t%i == 0)
print(list(islice(agen(), 33))) # Michael S. Branicky, Mar 26 2023
CROSSREFS
Sequence in context: A127303 A286153 A068972 * A048867 A113626 A154539
KEYWORD
base,nonn
AUTHOR
Giovanni Resta, Feb 15 2006
EXTENSIONS
a(30) and beyond from Michael S. Branicky, Mar 26 2023
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 July 29 15:02 EDT 2024. Contains 374734 sequences. (Running on oeis4.)