Cullen Number Calculator

C(n) = n·2^n + 1

CalculatorsFreeNo Signup
4.6(555 reviews)
All Tools

Loading tool...

About Cullen Number Calculator

A Cullen number calculator computing C(n) = n·2^n + 1. Cullen primes: C(n) prime for n=1,141,4713,5795,6611,18496... Very rare! Always divisible by p if n≡−1(mod p−1) and 2 has odd order mod p. Shows sequence and factors. Client-side.

Cullen Number Calculator Features

  • C(n) computation
  • Primality test
  • Sequence
  • Divisibility
  • Comparison
Cullen numbers: C(n) = n·2^n + 1. C(1)=3, C(2)=9, C(3)=25, C(4)=65, C(5)=161... Almost all are composite! Cullen primes are extremely rare: n=1,141,4713,5795,6611,18496... Named after James Cullen (1905).

How to Use

Enter n:

  • C(n): Cullen number value
  • Prime?: Primality test
  • Factors: Small factors

Why So Rare?

Cullen numbers have a covering set of small divisors: C(n) is divisible by 3 when n≡1(mod 2), by 5 when n≡1(mod 4), etc. Multiple divisibility conditions 'cover' most n, leaving very few candidates for primality.

Generalized Cullen

Generalized Cullen: n·b^n+1 for base b>2. These are even rarer as primes. The theory of covering sets explains why: larger bases create more divisibility conditions, leaving fewer prime candidates.

Step-by-Step Instructions

  1. 1Enter n.
  2. 2Compute C(n).
  3. 3Test primality.
  4. 4Find small factors.
  5. 5Compare to Woodall.

Cullen Number Calculator — Frequently Asked Questions

Why are Cullen primes so rare?+

Covering sets: C(n)≡0(mod 3) when n is odd. C(n)≡0(mod 5) when n≡1(mod 4). C(n)≡0(mod 7) when n≡1(mod 3). These and more conditions eliminate most n. Only special n surviving all conditions can be prime.

How is C(1)=3 prime but C(2)=9 is not?+

C(1)=1·2+1=3 (prime). C(2)=2·4+1=9=3² (composite). C(3)=3·8+1=25=5² (composite). The early values show the pattern: most C(n) factor easily. Only at n=141 does the next Cullen prime appear!

What's the largest known Cullen prime?+

Found by distributed computing projects. The indices grow large: 1, 141, 4713, 5795, 6611, 18496... Each requires testing a number with thousands to millions of digits. The Pépin-like test is used.

Share this tool: