Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126207
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126207 Number of 5's in decimal expansion of 5^n. +0
7
0, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 3, 3, 3, 2, 2, 1, 2, 2, 3, 3, 3, 2, 2, 4, 2, 3, 5, 3, 2, 3, 3, 2, 5, 4, 3, 5, 2, 6, 5, 1, 2, 1, 6, 5, 6, 4, 4, 3, 2, 4, 9, 9, 9, 4, 4, 2, 5, 2, 4, 5, 5, 7, 8, 6, 5, 5, 5, 7, 6, 11, 7, 7, 5, 5, 6, 7, 6, 8, 8, 10, 5, 6, 7, 8, 9, 4, 10, 7, 4, 8, 10, 9, 6, 5, 6, 10, 6 (list; graph; listen)
OFFSET

0,7

MAPLE

P:=proc(n) local i, k, x, y, w, cont; y:=5; k:=y; for i from 0 by 1 to n do x:=y^i; cont:=0; while x>0 do w:=x-trunc(x/10)*10; if w=k then cont:=cont+1; fi; x:=trunc(x/10); od; print(cont); od; end: P(100);

CROSSREFS

Cf. A065710, A126205, A126206, A126208, A126209, A126210, A126211.

Sequence in context: A079882 A014709 A069258 this_sequence A046219 A088978 A112753

Adjacent sequences: A126204 A126205 A126206 this_sequence A126208 A126209 A126210

KEYWORD

easy,nonn

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), Dec 20 2006

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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research