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

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

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, 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 | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

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

Last modified November 27 04:34 EST 2014. Contains 250155 sequences.