Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A060200
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A060200 Number of Sophie Germain primes <= Prime[2^n]. +0
1
2, 3, 4, 8, 12, 20, 32, 54, 94, 170, 297, 549, 1017, 1895, 3505, 6577, 12388, 23565, 44891, 85922, 164299, 314173, 602624, 1158231, 2232286 (list; graph; listen)
OFFSET

1,1

COMMENT

Sophie Germain primes are primes p such that 2p+1 is also prime.

EXAMPLE

The first four primes are 2, 3, 5 and 7. Three of these are Sophie Germain primes (since 2*2 + 1 = 5, 2*3 + 1 = 7 and 2*5 + 1 = 11 are prime, but 2*7 + = 15). Therefore the second value in the sequence is 3.

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[ 2, i ] ], Print[ cnt ] ]; ]

CROSSREFS

Cf. A049040.

Sequence in context: A133464 A085635 A013914 this_sequence A057608 A060984 A098348

Adjacent sequences: A060197 A060198 A060199 this_sequence A060201 A060202 A060203

KEYWORD

nonn

AUTHOR

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 December 5 08:23 EST 2009. Contains 170348 sequences.


AT&T Labs Research