|
Search: id:A049040
|
|
|
| A049040 |
|
Number of Sophie Germain primes <= Prime[ 10^n ]. |
|
+0 2
|
| |
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
Sophie Germain primes are primes p such that 2p+1 is also prime.
|
|
LINKS
|
Index entries for sequences related to numbers of primes in various ranges
|
|
EXAMPLE
|
The first 10 primes are 2,3,5,7,11,13,17,23,29 and 31. 6 of these are Sophie Germain primes, namely: 2,3,5,11,23 and 29.
|
|
MATHEMATICA
|
<< NumberTheory`NumberTheoryFunctions`; cnt = 0; currentPrime = 1; For[ i = 1, i == i, i ++, currentPrime = NextPrime[ currentPrime ]; If[ PrimeQ[ 2*currentPrime + 1 ], cnt++ ]; If[ IntegerQ[ Log[ 10, i ] ], Print[ cnt ] ]; ]
|
|
CROSSREFS
|
Sequence in context: A046233 A140231 A100308 this_sequence A053946 A027283 A009639
Adjacent sequences: A049037 A049038 A049039 this_sequence A049041 A049042 A049043
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Dennis S. Kluk (mathemagician(AT)ameritech.net)
|
|
EXTENSIONS
|
More terms from Alex Healy (ahealy(AT)fas.harvard.edu), Mar 19 2001
|
|
|
Search completed in 0.002 seconds
|