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!)
A116441 Numbers k which when sandwiched between two 6's give a multiple of k. 9
1, 2, 3, 6, 11, 13, 14, 21, 22, 26, 33, 39, 42, 66, 77, 78, 91, 137, 146, 219, 274, 411, 438, 822, 9091, 19802, 29703, 59406, 909091, 5882353, 10989011, 12145749, 12987013, 13986014, 14354067, 15037594, 20979021, 21978022, 22556391, 24291498, 25974026, 28708134 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
39 belongs to the sequence since 6396 is a multiple of 39 (39*164).
MATHEMATICA
f[k_, d_] := Flatten@Table[Select[Divisors[k*(10^(i + 1) + 1)], IntegerLength[ # ] == i &], {i, d}]; f[6, 8] (* Ray Chandler, May 11 2007 *)
Select[Range[23000000], Divisible[FromDigits[Join[{6}, IntegerDigits[#], {6}]], #]&] (* Harvey P. Dale, Jan 12 2011 *)
PROG
(Python)
from sympy import isprime
from itertools import count, islice
def agen(): # generator of terms
yield from [1, 2, 3, 6]
for k in count(2):
t = 6*(10**(k+1) + 1)
yield from (t//i for i in range(600, 60, -1) if t%i == 0)
print(list(islice(agen(), 42))) # Michael S. Branicky, Mar 26 2023
CROSSREFS
Sequence in context: A004038 A152038 A105614 * A116051 A124593 A125882
KEYWORD
base,nonn
AUTHOR
Giovanni Resta, Feb 15 2006
EXTENSIONS
a(40) 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 April 16 00:00 EDT 2024. Contains 371696 sequences. (Running on oeis4.)