Woodall Number Calculator

Term

Woodall number W(n)7
The n x 2^n term8
Digits in W(n)1
PrimalityPrime
How this was calculated
  1. Woodall numbers have the form n x 2^n - 1 for positive integers n, a family studied alongside the Cullen numbers in prime hunting.
  2. For n = 2: 2^n = 4, so the product term is n x 2^n = 2 x 4 = 8.
  3. Subtracting 1 gives the Woodall number W(2) = 8 - 1 = 7.
  4. Testing W(2) for primality: it is prime, and only a handful of Woodall numbers are known to be prime.

A Woodall number calculator takes a value of n and computes the Woodall number for that n using the definition W(n) = n x 2^n - 1. The answer it gives is that exact integer, together with what the number is: whether it is prime or composite, and for composites the factors where they are known. The sequence starts with small cases that are easy to check by hand. W(2) = 7, which is prime. W(4) = 63 = 3^2 x 7, so it is composite. W(8) = 2,047 = 23 x 89, the same 2,047 that appears as the Mersenne number M(11). Having the calculator do the arithmetic and the factoring means you can test larger n without working through the powers of 2 and the trial divisions yourself.

The method behind the calculator is the accepted standard for this kind of calculation because it follows the defining formula exactly and then applies established primality and factorization checks to the result, rather than relying on shortcuts or pattern-matching from a list. That is what makes the output trustworthy for both single values and comparisons across a range of n. Very few Woodall numbers are known to be prime, and finding new ones is a distributed computing pastime, so careful, repeatable arithmetic matters. This page shows the formula, step-by-step workings, worked examples, and sources, so you can follow every stage of the calculation and check the result yourself.

Worked examples

W(2) = 7, prime

(2)

Woodall number W(n)7
The n x 2^n term8
Digits in W(n)1
PrimalityPrime

W(4) = 63

(4)

Woodall number W(n)63
The n x 2^n term64
Digits in W(n)2
PrimalityComposite: 3^2 x 7

W(8) = 2047

(8)

Woodall number W(n)2,047
The n x 2^n term2,048
Digits in W(n)4
PrimalityComposite: 23 x 89

The Woodall formula

Every Woodall number comes from one short expression: W(n) = n x 2^n - 1. Here n is a positive integer, 2^n means 2 raised to the power n, and the result is multiplied by n before 1 is subtracted. That is the whole formula. A woodall number calculator simply plugs a value of n into this expression and does the arithmetic for you, which matters because 2^n grows quickly and the products soon become long strings of digits.

Walking through W(2) shows how the pieces fit together. Start with n = 2. First raise 2 to the power of 2, which gives 4. Next multiply that by n, so 2 x 4 = 8. Finally subtract 1, and 8 - 1 = 7. So W(2) = 7. That result is also prime, which makes n = 2 one of the special cases where a Woodall number is prime rather than composite.

Most values of n do not land on a prime. Take n = 4. Raising 2 to the fourth power gives 16, multiplying by 4 gives 64, and subtracting 1 leaves 63. Since 63 = 3^2 x 7, it factors into smaller whole numbers and is therefore composite. The same pattern of quick factorization shows up at n = 8: 2^8 = 256, 8 x 256 = 2,048, and 2,048 - 1 = 2,047. That number equals 23 x 89, and it is the same 2,047 that appears as the Mersenne number M(11). Seeing identical values turn up in two different families of numbers is one of the reasons these sequences interest number theorists.

The formula is easy to state, but the primes it produces are rare. Very few Woodall numbers are known to be prime, and finding new ones is a distributed computing pastime, with volunteers running software on their own machines to test larger and larger values of n. Because each step up in n roughly doubles the exponent, the numbers grow fast, and checking a single candidate can take substantial computer time.

When you use the formula, keep the order of operations in mind: exponent first, then multiplication by n, then the subtraction of 1. A common slip is to multiply n by 2 before applying the exponent, which produces a different and incorrect value. Writing the expression as n x 2^n - 1, with the exponent attached only to the 2, keeps the calculation straight whether you work it by hand or let a tool do it.

  • W(2): 2^2 = 4; 2 x 4 = 8; 8 - 1 = 7, which is prime.
  • W(4): 2^4 = 16; 4 x 16 = 64; 64 - 1 = 63 = 3^2 x 7, so it is composite.
  • W(8): 2^8 = 256; 8 x 256 = 2,048; 2,048 - 1 = 2,047 = 23 x 89, the same 2,047 as the Mersenne number M(11).
Order matters: in W(n) = n x 2^n - 1, the exponent applies only to 2. Compute 2^n first, then multiply by n, then subtract 1.

Small Woodall numbers

Small Woodall numbers make the definition easy to see in action: each term follows W(n) = n × 2^n − 1, so the sequence grows quickly as n increases. The early terms through W(8) = 2,047 are shown below, along with their factorizations where known from the facts supplied. This small table is a convenient reference for anyone using a woodall number calculator to check early values or to see how quickly the numbers leave the single digits behind.

The table starts with W(2) = 7, which is prime. By contrast, W(4) = 63 = 3^2 × 7, so it is composite. The contrast between these two early terms is a useful reminder that primality among Woodall numbers is not automatic; some early terms are prime, while others factor into smaller pieces. W(8) = 2,047 = 23 × 89, and that same 2,047 also appears as the Mersenne number M(11). The overlap is a numerical coincidence worth noting, but it does not change the fact that W(8) is composite.

Very few Woodall numbers are known to be prime, and finding new ones is a distributed computing pastime. That broader search context helps explain why a compact table of small terms is useful: it gives a concrete starting point before moving to larger inputs. The entries through W(8) are small enough to factor by hand or with basic tools, but they already illustrate the mix of prime and composite results that makes the Woodall sequence interesting to explore.

nW(n) = n × 2^n − 1Factorization / Note
27prime
4633^2 × 7 (composite)
82,04723 × 89 (composite; same as M(11))
W(8) = 2,047 = 23 × 89 — the same 2,047 that appears as the Mersenne number M(11).

Woodall primes

A Woodall number has the form W(n) = n x 2^n - 1. The first few values look promising enough: W(2) = 7, which is prime. But that early success is misleading. Most Woodall numbers are composite, and the reasons become clear as soon as you factor a couple of small examples by hand.

Take W(4) = 63. Since 63 = 3^2 x 7, it is composite, and the factorization is easy to spot because 63 sits just one below 64, a power of two. Now take W(8) = 2,047. This one factors as 23 x 89. That same 2,047 also appears as the Mersenne number M(11), a coincidence worth remembering because it shows how numbers of this shape can share factors across different families. Neither W(4) nor W(8) is prime, and they are not unlucky exceptions. They are typical of what a woodall number calculator will report for most inputs: a composite result with at least two nontrivial factors.

The reason is structural rather than random. W(n) = n x 2^n - 1 combines a rapidly growing power of two with the multiplier n, and the resulting values tend to have small prime divisors. A single small factor is enough to make a term composite, and such factors turn up often. Primality is the rare outcome, not the default, so a term that survives every trial division and probable-prime test is genuinely notable.

Because prime Woodall numbers are so scarce, finding new ones is a distributed computing pastime. Volunteers run primality tests on individual exponents across many machines, and each candidate that passes becomes a reported result. The search is a hunt for exceptions: the vast majority of tested terms are eliminated as composite, and only a tiny handful are confirmed prime. That is why the prime terms are tracked and celebrated individually rather than listed in bulk.

For anyone exploring the sequence, the practical lesson is to expect composites and treat primes as discoveries. A woodall number calculator makes that pattern visible immediately: enter a few exponents, watch the values grow quickly, and see how often a small factor appears. The primes are out there, but they are the exception that makes the search worthwhile.

  • W(2) = 7 is prime, an early and atypical success.
  • W(4) = 63 = 3^2 x 7, so it is composite.
  • W(8) = 2,047 = 23 x 89, the same 2,047 that appears as the Mersenne number M(11).
  • Very few Woodall numbers are known to be prime; finding new ones is a distributed computing pastime.
Most Woodall numbers are composite. A term is prime only when it escapes every small factor, which makes each confirmed prime a rare find.

Woodall versus Cullen numbers

Woodall numbers and Cullen numbers are close cousins that differ by a single sign. A Woodall number has the form W(n) = n x 2^n - 1, while a Cullen number has the form n x 2^n + 1. Both use the same n multiplied by a power of two, and both add or subtract one at the end. The only structural difference is that minus sign, but that difference has real consequences for which values turn out to be prime — and it is the first thing to check when you use a woodall number calculator and want to compare a result against the Cullen family.

The sign matters because of how each number factors. A Woodall number is one less than n x 2^n, so it can sometimes be written as a difference of squares or split by small algebraic identities. The Cullen side, being one more, follows a different factoring pattern. Neither family is guaranteed to produce primes, and both are sparse: very few Woodall numbers are known to be prime, and finding new ones is a distributed computing pastime. The same is true on the Cullen side, which is why the two families are often studied side by side rather than in isolation.

Concrete examples show how the two forms behave. On the Woodall side, W(2) = 7, which is prime. W(4) = 63 = 3^2 x 7, so it is composite. W(8) = 2,047 = 23 x 89, the same 2,047 that appears as the Mersenne number M(11). That last case is a useful reminder that a number can belong to more than one famous family and that compositeness can be established by a clean factorization rather than a long search. When you compare a Woodall result to its Cullen counterpart for the same n, you are looking at two numbers that share a factor of n x 2^n but sit on opposite sides of it.

Because the two families are so closely related, prime-search projects test them together. A distributed effort that checks candidate exponents for Woodall primes will typically also check the Cullen form, since the arithmetic is nearly identical and the same sieving and testing machinery applies. This shared testing is efficient: one pipeline can screen both n x 2^n - 1 and n x 2^n + 1 for the same range of n, and any hit in either family is recorded separately. If you are exploring the Woodall side, it helps to remember that the Cullen numbers are the natural control group — same base, same exponent, opposite sign.

So when you compute a Woodall number, keep the Cullen form in mind as a direct comparison. The minus sign is small, but it changes the factorization, the primality odds, and the historical record of each family. Testing both together is the standard approach in the distributed prime-search community, and it is the clearest way to see how much a single sign can matter.

Woodall: n x 2^n - 1. Cullen: n x 2^n + 1. Same n x 2^n core, opposite sign — and prime-search projects typically test both forms together.

FAQs

What is a Woodall number?

A Woodall number is a number of the form n x 2^n - 1. The n is multiplied by 2 raised to the power n, and then 1 is subtracted. For example, W(2) = 7, since 2 x 2^2 - 1 = 2 x 4 - 1 = 7. The sequence is defined for positive integers n.

What is W(8)?

W(8) is 2,047. You get it by taking 8 x 2^8 - 1, which is 8 x 256 - 1 = 2,048 - 1 = 2,047. That number is not prime: it factors as 23 x 89. So W(8) is a composite Woodall number, even though the form looks simple.

Is W(4) prime?

No, W(4) is not prime. W(4) = 63, because 4 x 2^4 - 1 = 4 x 16 - 1 = 64 - 1 = 63. And 63 factors as 3^2 x 7, that is, 3 x 3 x 7. So W(4) is composite. Only a few Woodall numbers turn out to be prime.

How many Woodall primes are known?

Only a handful of Woodall primes are known. Prime Woodall numbers are exceptionally rare among the sequence, which is why large searches keep running. Because primes of this form are so scarce, finding new ones takes substantial computing effort, and each confirmed discovery is notable for researchers working on the sequence.

Who were Woodall numbers named after?

Woodall numbers are named after H. J. Woodall, who studied the sequence in 1917. His work on numbers of the form n x 2^n - 1 gave the sequence its name. The related Cullen numbers, which use a plus sign instead, are named after the person who studied that variant.

What is the difference between Woodall and Cullen numbers?

The difference is the sign. A Woodall number subtracts 1 from n x 2^n, giving n x 2^n - 1. A Cullen number adds 1 instead, giving n x 2^n + 1. So the two sequences use the same product but opposite final operations, which changes which values turn out to be prime.

Sources

Related calculators

Mersenne Prime Calculator
Test whether a Mersenne number 2^p - 1 is prime with the Lucas-Lehmer test, for exponents up to 61.
Leyland Number Calculator
Leyland numbers of the form x^y + y^x for integers x and y of at least 2, with both power terms and the digit count of the result.
Exponent Calculator
Any base to any power — whole, negative and fractional exponents — with squares and cubes for reference.