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

A216812
Smallest positive number divisible by n whose decimal expansion has the form 22...200...0.
2
2, 2, 222, 20, 20, 222, 222222, 200, 222222222, 20, 2222222222, 2220, 222222222222, 222222, 2220, 2000, 2222222222222222, 222222222, 222222222222222222, 20, 222222
OFFSET
1,1
FORMULA
If n=3^k, a(n)=2(10^n-1)/9. For all n, a(n) <= 2(10^n-1)/9.
a(2^k)= 2*10^(k-1).
If p=prime, a(p) = 2(10^(p-1)-1)/9.
CROSSREFS
Sequence in context: A304915 A216481 A078241 * A068103 A335257 A119512
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Sep 18 2012
STATUS
approved