Skip to content
Number Buffet

First 5 fermat numbers

3, 5, 17, 257, 65537

Only F(0) through F(4) — 3, 5, 17, 257 and 65537 — are prime, and no larger Fermat prime has ever been found.

Settings

Quick presets

F(0) through F(32) — 33 numbers, after which primality is unsettled.

F(0) = 3. Set 5 to begin at Euler's counterexample.

Full decimal form switches to power notation once a value is too long to print.

Group digits as 4,294,967,297.

Fine-tune the look

Pick a preset next to the image first — these controls adjust it.

Frame

A border drawn inside the edge of the image.

Advanced

Results

5 values

3, 5, 17, 257, 65537

Only F(0) through F(4) — 3, 5, 17, 257 and 65537 — are prime, and no larger Fermat prime has ever been found.


Make an image

Turn on JavaScript to style and download these numbers as an image. The values themselves are listed above.

Text on the image

Drag a line straight onto the picture to place it — once placed, it stays exactly where you put it. Everything here is drawn into the download.

What are the first 5 fermat numbers?

The first 5 fermat numbers are:

3, 5, 17, 257, 65537

How fermat numbers work

The full explainer — where fermat numbers come from, what they are used for and how each term is worked out — is on the generator page.

Read about fermat numbers

Other lengths

Sources