login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A061835 a(1) = 5; a(n) = smallest power of 5 (larger than a(n-1)) with a(n-1) forming its final digits. 0
5, 25, 125, 3125, 1953125, 45474735088646411895751953125 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..6.

Index entries for sequences related to final digits of numbers

EXAMPLE

After 3125 = 5^5 the next term is 1953125 = 5^9, containing 3125 as its final digits.

PROG

(ARIBAS) a := 5; n := 1; writeln("a(", n, ") = ", a); stop := 50000; run := true; c := 1; while run do b := a; len := length(itoa(b)); inc(n); a := 1; while a mod 10^len <> b and c <> stop do inc(c); a := 5^c; end; if c < stop then writeln("a(", n, ") = ", 5, "^", c, " = ", a); else writeln("a(", n, ") > ", 5, "^", c); run := false; end; end;

CROSSREFS

Sequence in context: A113996 A062875 A140288 * A030988 A173260 A080516

Adjacent sequences:  A061832 A061833 A061834 * A061836 A061837 A061838

KEYWORD

nonn,base

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), May 29 2001

EXTENSIONS

Description corrected by and one more term from Klaus Brockhaus, Jun 03 2001, who remarks that the next term is > 5^50000. 6-th term also found by Frank Ellermann, Jun 04 2001.

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified June 18 21:31 EDT 2013. Contains 226356 sequences.