Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

0,12

MAPLE

P:=proc(n) local i, k, x, y, w, cont; y:=8; 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, A126207, A126208, A126209, A126211.

Sequence in context: A078072 A049776 A079276 this_sequence A040005 A053578 A029205

Adjacent sequences: A126207 A126208 A126209 this_sequence A126211 A126212 A126213

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 September 7 15:18 EDT 2008. Contains 143483 sequences.


AT&T Labs Research