Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A049040
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A049040 Number of Sophie Germain primes <= Prime[ 10^n ]. +0
2
6, 26, 167, 1222, 9668, 82237, 711154, 6284076 (list; graph; listen)
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

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 July 8 18:40 EDT 2008. Contains 141013 sequences.


AT&T Labs Research