Updated
Using Number theory calculator
Find prime factors, divisor count and sum, and Euler's totient for a positive integer.
Exact integer arithmetic through one billion. The totient counts integers from 1 through n that are coprime to n. For n = 1, the empty prime product is 1 and the totient is 1.
A worked example
For positive integer = 60, euler totient = 16.
Before you use the result
Exact integer arithmetic through one billion. The totient counts integers from 1 through n that are coprime to n. For n = 1, the empty prime product is 1 and the totient is 1.
Example results for positive integer
These examples use the formula above. They are reference calculations, not recommended settings.
| Positive integer | Euler totient |
|---|---|
| 30 | 8 |
| 60 | 16 |
| 120 | 32 |
Cite this page
ToolOctopus. “Number theory calculator.” Updated 2026-09-29. https://tooloctopus.com/number-theory-calculator.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. Licence and source code.
