Rewrite Number as Sum/Product
Decompose numbers. Runs entirely in your browser, so your data never leaves your device.
0 chars · 0 lines
Output
The result appears here as you type.
How to use Rewrite Number as Sum/Product
- 1. Enter your number. Type an integer into the input pane. The tool computes several ways to decompose it at once, rather than just one representation.
- 2. Read the different decompositions. The output lists the prime factorization, factor pairs, a Goldbach sum of two primes when applicable, and a sum of consecutive integers, each on its own line.
- 3. Copy the decomposition you need. Copy the whole output or just the line you need, for example the prime factorization for a number theory answer or the consecutive-sum form for a puzzle.
When to use Rewrite Number as Sum/Product
Rewrite Number as Sum/Product breaks a single integer down several ways at once: prime factorization, factor pairs, a Goldbach sum of two primes, and a sum of consecutive integers. Use it whenever one number needs several different structural views without running separate calculators.
- Answering a multi-part number theory question. A homework set asks for both the prime factorization and a Goldbach representation of the same number, and this tool gives both decompositions in one pass instead of two separate lookups.
- Exploring which numbers sum from consecutive integers. You are investigating which numbers can be written as a sum of consecutive integers, a property tied to their odd divisors, and this tool shows the actual consecutive-sum breakdown for a given input.
- Verifying the Goldbach conjecture for a specific case. You want to confirm that a chosen even number can indeed be written as the sum of two primes, a spot-check of the Goldbach conjecture that this tool computes directly.
- Building a number-facts reference for a puzzle. A trivia or puzzle project wants a quick fact sheet about a number's structure, including its factor pairs and prime breakdown, without deriving each representation manually.
Examples
Decompose 15
Input
15
Output
Prime factorization: 15 = 3 × 5 Factor pairs: 15 = 3 × 5 Sum of two primes: 15 = 2 + 13 Sum of consecutive integers: 15 = 7+8 = 4+5+6 = 1+2+3+4+5
About the Rewrite Number as Sum/Product tool
Rewrite Number as Sum/Product does its work locally, right in the browser. Decompose numbers. There is no upload step, no queue and no account, and your data never travels over the network.
It belongs to the Math Tools collection on EditSafely, a set of 234 small, focused Math utilities that share the same instant, private workspace.
There is nothing to configure. Provide the input and the result appears on its own. A worked example further down the page shows exactly what the tool produces for a real input.
Running locally also makes the tool fast and dependable: results appear as you type or drop a file, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.
Frequently asked questions
Does Rewrite Number as Sum/Product cost anything?
Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.
Is it safe to paste sensitive or confidential data?
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 much text can I process at once?
There is no fixed limit. Because the work happens on your own device rather than on a shared server, the practical ceiling is your machine's memory, which comfortably handles inputs far larger than typical online tools allow.
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.