Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A061835
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A061835 a(1) = 5; a(n) = smallest power of 5 (larger than a(n-1)) with a(n-1) forming its final digits. +0
1
5, 25, 125, 3125, 1953125, 45474735088646411895751953125 (list; graph; listen)
OFFSET

1,1

LINKS

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.

PROGRAM

(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 this_sequence A030988 A080516 A033141

Adjacent sequences: A061832 A061833 A061834 this_sequence 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 (klaus-brockhaus(AT)t-online.de), Jun 03 2001, who remarks that the next term is > 5^50000. 6-th term also found by Frank.Ellermann(AT)t-online.de, Jun 04, 2001.

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 2 15:58 EST 2008. Contains 150992 sequences.


AT&T Labs Research