|
|
A087865
|
|
Prime numbers of the form primepi(3^m), for some integer m.
|
|
1
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
These are the prime terms in A055729.
|
|
LINKS
|
|
|
MATHEMATICA
|
Select[ Table[ PrimePi[ 3^n], {n, 0, 49}], PrimeQ@# &] (* Robert G. Wilson v, Feb 25 2010 *)
|
|
PROG
|
(PARI) primeslessxn2(n, p) = /*primes < p^n if prime */ { sr=0; for(x=0, n, y=primepi(p^x); if(y<>0, sr+=1.0/y); if(isprime(y), print1(y", ")); ); print(); print(sr) }
|
|
CROSSREFS
|
Cf. A055729 (number of primes <= 3^n).
|
|
KEYWORD
|
nonn,more,hard
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|