EditSafely

Generate Carmichael Number Sequence

Create a list of Carmichael numbers. Runs entirely in your browser, so your data never leaves your device.

Output

The result appears here as you type.

Options

How to use Generate Carmichael Number Sequence

  1. 1. Set how many terms. Enter How many terms to decide how many Carmichael numbers to list. Since they grow quickly and are sparse, even a handful of terms already reaches into the thousands.
  2. 2. Set a separator. Choose Separator to control how the values are joined, a comma for a plain list or a newline if you want each number on its own row.
  3. 3. Copy the results. The tool tests each candidate against the Korselt criterion and returns only the composite numbers that pass Fermat's primality test for every base. Copy the list for your number theory work.

When to use Generate Carmichael Number Sequence

Generate Carmichael Number Sequence lists composite numbers that behave like primes under Fermat's little theorem for every coprime base, the classic false positives that trip up naive primality tests. Use it whenever you need real examples of these Fermat pseudoprimes rather than deriving them by hand.

  • Explaining why Fermat primality tests fail. A cryptography course covering primality testing needs to show students a number like 561 that passes Fermat's test for every base yet is composite, to motivate the Miller-Rabin test.
  • Testing a primality checker against edge cases. A developer who wrote a Fermat-based primality function feeds it Carmichael numbers to confirm it correctly flags them as composite rather than reporting a false positive.
  • Studying the Korselt criterion. A number theory student verifying the Korselt criterion by hand wants a reliable list of Carmichael numbers to check their manual factorization work against.
  • Writing a paper referencing pseudoprimes. Someone drafting a section on absolute pseudoprimes for a paper or blog post needs a quick, correct list of the first several Carmichael numbers to cite as examples.

Examples

The first seven Carmichael numbers

Output

561, 1105, 1729, 2465, 2821, 6601, 8911

About the Generate Carmichael Number Sequence tool

Generate Carmichael Number Sequence is a free online tool that works entirely inside your web browser. Create a list of Carmichael numbers. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.

This page is one of 234 Math utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.

You can shape the output with 2 settings, including How many terms and Separator, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.

Because nothing leaves your device, the tool is suitable for sensitive content such as internal documents, credentials or customer data. It also responds instantly, since every keystroke is handled on your own machine rather than by a remote API.

Frequently asked questions

Does Generate Carmichael Number Sequence cost anything?

Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.

Does the generator send anything to a server?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

How do I get a different result?

Run the generator again. Each run is computed fresh on your device, and any options you change are applied to the next result immediately.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.

Related tools

All Math Tools