Cousin Primes

DOWNLOAD Mathematica Notebook Contribute to this entry

Pairs of primes of the form (p, p+4) are called cousin primes. The first few are (3, 7), (7, 11), (13, 17), (19, 23), (37, 41), (43, 47), (67, 71), ... (OEIS A023200 and A046132).

A large pair of cousin (proven) primes start with

 p={9771919142·[(53238·7879#)^2-1]+2310}·53238·7879#/385+1,
(1)

where 7879# is a primorial. These primes have 10154 digits and were found by T. Alm, M. Fleuren, and J. K. Andersen (Andersen 2005).

As of Jan. 2006, the largest known pair of cousin (probable) primes are

 630062·2^(37555)+3,7,
(2)

which have 11311 digits and were found by D. Johnson in May 2004.

According to the first Hardy-Littlewood conjecture, the cousin primes have the same asymptotic density as the twin primes,

P_x(p,p+4)∼2product_(p>=3)(p(p-2))/((p-1)^2)int_2^x(dx^')/((lnx^')^2)
(3)
∼1.320323632...int_2^x(dx^')/((lnx^')^2)
(4)

where Pi_2=1.320323632... (OEIS A114907) is the twin primes constant.

An analogy to Brun's constant, the constant

 B_4=(1/7+1/(11))+(1/(13)+1/(17))+(1/(19)+1/(23))+(1/(37)+1/(41))+...,
(5)

(omitting the initial term 1/3+1/7) can be defined. Using cousin primes up to 2^(42), the value of B_4 is estimated as

 B_4 approx 1.1970449.
(6)

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.