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!)
A050621 Smallest n-digit number divisible by 2^n. 27
2, 12, 104, 1008, 10016, 100032, 1000064, 10000128, 100000256, 1000000512, 10000001024, 100000002048, 1000000004096, 10000000008192, 100000000016384, 1000000000032768, 10000000000065536, 100000000000131072 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Quotients arising from this sequence give A034478 ((5^(n-1)+1)/2).
LINKS
FORMULA
a(n) = 10^(n-1) + 2^(n-1).
G.f.: Q(0) where Q(k)= 1 + 5^k/(1 - 2*x/(2*x + 5^k/Q(k+1) )); (continued fraction ). - Sergei N. Gladkovskii, Apr 10 2013
G.f.: 2*x*(1-6*x)/((1-2*x)*(1-10*x)). - Vincenzo Librandi, Sep 12 2014
a(n) = 12*a(n-1) - 20*a(n-2) for n>1. - Vincenzo Librandi, Sep 12 2014
MATHEMATICA
CoefficientList[Series[2 (1 - 6 x)/((1 - 2 x) (1 - 10 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Sep 12 2014 *)
PROG
(Magma) [2^(n-1)+10^(n-1): n in [1..21]]; // Vincenzo Librandi, Sep 12 2014
(PARI) a(n) = 10^(n-1) + 2^(n-1) \\ Charles R Greathouse IV, Jun 11 2015
CROSSREFS
Sequence in context: A351762 A302357 A052693 * A326237 A152254 A157328
KEYWORD
nonn,base,easy
AUTHOR
Patrick De Geest, Jun 15 1999
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 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)