Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A119291
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A119291 Total number of zero digits in first 10^n primes. +0
10
0, 9, 191, 3303, 46188, 557005, 6481183 (list; graph; listen)
OFFSET

1,2

FORMULA

Count the number of zero digits in 10^n primes

a(n)= sum( A055641(A000040(j)),j=1..10^n) - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), May 30 2008

EXAMPLE

a(1)=9 since there are 9 zero digits in the first 100 primes.

MAPLE

A055641 := proc(n) local a, d ; a := 0 ; for d in convert(n, base, 10) do if d = 0 then a := a+1 ; fi ; od: a ; end: p := 2: n := 1: c :=0 : nsw := 10 : while true do n := n+1 ; p := nextprime(p) ; c := c+A055641(p) ; if n = nsw then print(c) ; nsw := 10*nsw ; fi ; od: # R. J. Mathar (mathar(AT)strw.leidenuniv.nl), May 30 2008

CROSSREFS

Cf. A119290, A119292-A119300.

Adjacent sequences: A119288 A119289 A119290 this_sequence A119292 A119293 A119294

Sequence in context: A033713 A067422 A113564 this_sequence A113269 A116877 A081020

KEYWORD

more,nonn,base

AUTHOR

Enoch Haga (Enokh(AT)comcast.net), May 13 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 October 6 16:13 EDT 2008. Contains 144667 sequences.


AT&T Labs Research