Skip to content

SophieGermainPrimes ​

The Sophie Germain primes 2,3,5,11,23,…2, 3, 5, 11, 23, …: primes pp with 2p+12p+1 also prime.

SophieGermainPrimesthe prime pp with 2p+12p+1 also prime, an indexed collection of open infinitude.

Domain: Collections

Details
  • A lazy indexed collection; whether there are infinitely many is open, so Count(SophieGermainPrimes)=NaNCount(SophieGermainPrimes) = NaN. OEIS A005384.
  • At(SophieGermainPrimes,k)At(SophieGermainPrimes, k) unranks by scanning forward, testing primality of nn and 2n+12n+1 -- At(SophieGermainPrimes,4)=11At(SophieGermainPrimes, 4) = 11 (2323 is prime).
  • Membership goes through Element: Element(11,SophieGermainPrimes)Element(11, SophieGermainPrimes) is true, Element(7,SophieGermainPrimes)Element(7, SophieGermainPrimes) is false (1515 is not prime).

Enumeration

Examples

1 more kept as data, checked against the oracles
About
Examples1
CrosswalkOEIS

See also: Count, At, Element, SafePrimes, PrimeNumbers