TOPICS
Search

Cousin Primes


Cousin primes are pairs of primes of the form (p, p+4). 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 proven cousin primes is (p,p+4), where

 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 Oct. 2026, the largest known pair of cousin primes is (p,p+4), where

 p=954589277·(2^(332267)-2^(110758))+2^(221511)-3.
(2)

Both primes have 100,032 decimal digits and were found by S. Batalov in April 2025 (Prime k-Tuplets).

Let P_x(p,p+4) count cousin-prime pairs whose smaller prime number does not exceed x. The first Hardy-Littlewood conjecture predicts the same asymptotic form as for 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.320323631...int_2^x(dx^')/((lnx^')^2),
(4)

where the product is over primes p>=3, Pi_2 is the twin primes constant, and 2Pi_2=1.320323631... (OEIS A114907).

The uniform ratios hypothesis for the Riemann zeta function implies this asymptotic as the gap-four case of the first Hardy-Littlewood conjecture.

By analogy with 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) and extrapolating the tail, Wolf (1996, p. 7) estimated

 B_4 approx 1.1970449.
(6)

See also

Brun's Constant, Prime Constellation, Sexy Primes, Twin Primes, Twin Primes Constant

Explore with Wolfram|Alpha

WolframAlpha

More things to try:

References

Update a linkAndersen, J. K. "Gigantic Sexy and Cousin Primes." Post to primeform user forum. Nov. 3, 2005. http://groups.yahoo.com/group/primeform/message/6637Sloane, N. J. A. Sequences A023200, A046132, A114907 in "The On-Line Encyclopedia of Integer Sequences."Prime k-Tuplets. "CPAP-2." Accessed Oct. 29, 2026. https://www.pzktupel.de/CPAP/CPAP02.php.Wolf, M. "On the Twin and Cousin Primes." 1996. https://mwolf.pracownicy.uksw.edu.pl/twins_cousins.pdf.

Referenced on Wolfram|Alpha

Cousin Primes

Cite this as:

Weisstein, Eric W. "Cousin Primes." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/CousinPrimes.html

Subject classifications