The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A216164 Period of powers of 7 mod 10^n. 2
4, 4, 20, 100, 500, 5000, 50000, 500000, 5000000, 50000000, 500000000, 5000000000, 50000000000, 500000000000, 5000000000000, 50000000000000, 500000000000000, 5000000000000000, 50000000000000000, 500000000000000000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Essentially the same as A216099.
LINKS
FORMULA
a(n) = 4*5^(n-2), 1 < n < 5.
a(n) = 5*10^(n-3), n >= 5.
a(n) = 2^(n-3)*5^(n-2) for n>4. a(n) = 10*a(n-1) for n>5. G.f.: 4*x*(125*x^4 +25*x^3 +5*x^2 +9*x -1) / (10*x -1). - Colin Barker, Sep 22 2013
MATHEMATICA
Join[{4, 4, 20, 100}, NestList[10*# &, 500, 20]] (* Paolo Xausa, Feb 19 2024 *)
CROSSREFS
Sequence in context: A321691 A014433 A191366 * A270376 A323744 A205142
KEYWORD
nonn,base,easy
AUTHOR
V. Raman, Sep 02 2012
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 May 16 17:27 EDT 2024. Contains 372554 sequences. (Running on oeis4.)