Practice QuestionsDecember 1, 2026·3 min read

"Fermat Primes Are Prime Numbers That Can Be Written in the Form 2ᵏ + 1..." — GMAT® Worked Solution

An Official Guide number-properties problem that introduces Fermat primes and tests powers of 2: generate values from the given formula, eliminate four choices, and confirm the survivor with a quick solve.

Isaac Puglia
Isaac Puglia
Founder, The GMAT® Strategy · 99th percentile scorer

"Fermat Primes Are Prime Numbers That Can Be Written in the Form 2ᵏ + 1..." — GMAT® Worked Solution

Source: Official Guide for GMAT® Review, 11th Edition

Fermat primes are prime numbers that can be written in the form

2k+12^k + 1

where kk is an integer and a power of 2. Which of the following is not a Fermat prime?

(A) 3

(B) 5

(C) 17

(D) 31

(E) 257

Try it before reading on.

Step 1: Turn the Definition Into Testable Values

The problem hands over a made-to-order definition: a Fermat prime is a prime that can be written as 2k+12^k + 1, where kk is an integer and a power of 2. The Fermat-prime definition doesn't need to be memorized in advance, because the problem prints it. What needs unpacking is the phrase "power of 2."

A power of 2 is what we get by raising 2 to an integer exponent: 20=12^0 = 1, 21=22^1 = 2, 22=42^2 = 4, 23=82^3 = 8, 24=162^4 = 16, and upward from there. So kk is allowed to be 1, 2, 4, 8, 16, and so on.

Step 2: Generate Fermat Primes and Eliminate Choices

Four rows of arithmetic check four of the five choices:

kk2k2^k2k+12^k + 1Eliminates
123(A)
245(B)
41617(C)
8256257(E)

Each row produces a prime that CAN be written in the required form, so it can't be the answer to a question asking which one can't. The k=1k = 1 row is the one worth pausing on: 1 is a power of 2 because 20=12^0 = 1, which makes k=1k = 1 legitimate and makes 3 a Fermat prime.

With (A), (B), (C), and (E) eliminated, the answer is (D).

Step 3: Confirm (D) Can't Fit the Form

Setting the formula equal to 31:

2k+1=31⇒2k=302^k + 1 = 31 \quad \Rightarrow \quad 2^k = 30

No integer exponent turns 2 into 30. The nearby powers of 2 are 16 and 32, and 30 sits between them (it factors as 2×152 \times 15, so one factor is odd). 31 can't be written in the form, which confirms (D).

Why This Problem Matters

The most popular wrong answer in our internal data is (A), and the path there runs through the k=1k = 1 row. Set 2k+1=32^k + 1 = 3, subtract 1 from both sides, and 2k=22^k = 2, which means k=1k = 1. The question becomes whether 1 is a power of 2. It is: 20=12^0 = 1. Miss that fact, and 3 looks like it can't fit the formula, and (A) gets selected.

Answer-choice rankings come from our internal data, not from the Official Guide.

The fix is a memorization project rather than a reasoning one: the powers of 2 from 202^0 through 2102^{10}, which are 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, and 1024. Recognition is the goal, seeing 256 and knowing it's 282^8 without computing. Manual multiplication always works as a backup, but the memorized list is faster, and the same recognition can help on other exponent questions.

One more takeaway: plugging powers of 2 into the formula is one of two workable paths. The other sets 2k+12^k + 1 equal to each answer choice and solves for kk. Both land on (D), and the hybrid, plugging in first and solving for the stragglers, is what the full walkthrough in the strategy article for this episode recommends when the arithmetic gets heavy.


Ready for the next one? "If x² = 2y³ and 2y = 4, What Is the Value of x² + y?" — GMAT® Worked Solution.


Want the full strategy? Read: GMAT® Quantitative Reasoning: The Given-and-Asked System

From Episode 17 of Real GMAT® Problems (The GMAT® Strategy Podcast).

Want to learn even more?

Hear the full breakdown in the podcast episode — including walk-throughs, examples, and strategy you can use this week.

Or grab the free e-book — 3 keys to reaching your dream GMAT® score faster.