|
Search: id:A088754
|
|
|
| A088754 |
|
Number of n-digit primes beginning with prime(n). |
|
+0 6
|
|
| 1, 2, 14, 107, 103, 851, 6931, 59557, 518971, 4585526
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
Subsidiary sequence suggested in A088104.
|
|
EXAMPLE
|
a(2)=2 since 31 and 37 are the only two 2-digit primes beginning with prime(2)=3.
|
|
PROGRAM
|
(PARI) A088754(n)={ local (resul, sdig, p, lo, hi) ; sdig=prime(n) ; lo=sdig ; hi=sdig+1 ; while( lo < 10^(n-1), lo *= 10 ; hi *= 10 ; ) ; resul=0 ; p=nextprime(lo) ; while(p < hi, resul++ ; p=nextprime(p+1) ; ) ; return(resul) ; } { for(n=1, 11, print(A088754(n)); ) } - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 25 2006
|
|
CROSSREFS
|
Cf. A077504, A077505, A088104, A088105, A088755.
Sequence in context: A051708 A074618 A108436 this_sequence A103945 A111713 A092639
Adjacent sequences: A088751 A088752 A088753 this_sequence A088755 A088756 A088757
|
|
KEYWORD
|
more,nonn
|
|
AUTHOR
|
Ray Chandler (rayjchandler(AT)sbcglobal.net), Oct 15 2003
|
|
EXTENSIONS
|
One more term from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 25 2006
|
|
|
Search completed in 0.002 seconds
|