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!)
A126208 Number of 6's in decimal expansion of 6^n. 6
0, 1, 1, 1, 1, 1, 3, 1, 3, 2, 4, 2, 2, 3, 3, 1, 1, 4, 4, 2, 4, 3, 3, 2, 3, 1, 1, 3, 3, 4, 1, 3, 4, 7, 3, 2, 2, 4, 6, 4, 4, 3, 3, 3, 2, 5, 6, 1, 2, 5, 8, 7, 6, 4, 3, 6, 5, 5, 9, 6, 7, 7, 7, 5, 13, 8, 4, 5, 5, 2, 7, 4, 6, 5, 5, 12, 11, 4, 10, 7, 5, 11, 14, 9, 9, 9, 9, 7, 8, 10, 6, 8, 9, 6, 6, 7, 12, 9, 12, 11 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
LINKS
MAPLE
P:=proc(n) local i, k, x, y, w, cont; y:=6; 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
Sequence in context: A035664 A095246 A279633 * A287863 A126088 A363833
KEYWORD
nonn,base
AUTHOR
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 April 19 06:44 EDT 2024. Contains 371782 sequences. (Running on oeis4.)