NT_RADICAL Function (Gnumeric)
Use NT_RADICAL in Gnumeric to multiply distinct prime factors. Includes square-free parts, native examples, practical identities and version limits.
Verification status: 18 reference, boundary and advanced-check formulas were recalculated with Gnumeric 1.12.57 ssconvert. Retained identities and results were checked against independent calculations. Gnumeric 1.12.62 was source-checked only. How formula examples are checked
Quick answer: =NT_RADICAL(1) gives 1 in the tested Gnumeric 1.12.57 build.
Availability and version history
- Introduced: Gnumeric 1.12.44 release notes explicitly record its addition.
- Supported in: Gnumeric 1.12.62; no retirement is established.
- Scope: Desktop Gnumeric with its Number Theory plugin. English comma-separated formulas are shown.
- Checked: October 14, 2026. The tables and named advanced check use 1.12.57 ssconvert. Current 1.12.62 source was inspected; that release was not executed.
What NT_RADICAL returns
NT_RADICAL returns the product of distinct prime factors of n, often written rad(n). Each prime is included once, regardless of its exponent. For 36=2²×3², the result is 2×3=6. This number-theory “radical” is not a square root. Versioned function help.
Syntax and arguments
=NT_RADICAL(n)
n is one positive integer. Fractions are floored before evaluation. The value rad(1)=1 is the empty product.
Reproducible examples
The eight ordinary results below were independently checked using integer arithmetic.
| Formula | Gnumeric 1.12.57 result |
|---|---|
=NT_RADICAL(1) |
1 |
=NT_RADICAL(2) |
2 |
=NT_RADICAL(8) |
2 |
=NT_RADICAL(12) |
6 |
=NT_RADICAL(30) |
30 |
=NT_RADICAL(36) |
6 |
=NT_RADICAL(72) |
6 |
=NT_RADICAL(360) |
30 |
Practical worksheet
For positive integer identifiers or mathematical data in A2:A20, enter =NT_RADICAL(A2) and fill down to compare prime-factor support. Values 12,18,36 and 72 all have the same distinct primes 2 and 3, so their radical is 6. The native advanced check =NT_RADICAL(72) returns 6.
A positive integer is square-free exactly when rad(n)=n. The table shows rad(30)=30, while rad(360)=30. This comparison only makes sense after validating that n is a positive integer; silently flooring input can hide an invalid identifier.
Advanced interpretation and checks
For every positive integer k, rad(n^k)=rad(n): powers change exponents but not which primes occur. The independent examples rad(12)=rad(144)=6 illustrate this identity. Do not infer that rad(a×b)=rad(a)×rad(b) always holds. It does when a and b are coprime, but repeated primes otherwise get counted twice.
For a=12 and b=18, rad(a)=6 and rad(b)=6. Their product is 36, while rad(216)=6. Equivalently, rad(ab)=LCM(rad(a),rad(b)). The result also divides n, so MOD(n,NT_RADICAL(n)) is zero for valid ordinary inputs.
Version-specific source comparison
In the standard binary64 build, the 1.12.57 shared bound is 2^52 = 4503599627370496. The 1.12.62 source bound is 2^53 = 9007199254740992. The tested large-input rejection is an older-build observation; the newer range was source-checked only. An accepted number is not a guarantee that a resource-intensive prime calculation will complete.
Boundaries and troubleshooting
Zero, negative inputs and an empty reference are invalid and produce #NUM!. For example, 9.9 is floored to 9 and gives 3, rather than an error. The retained numeric and factorization limits below still apply; use error handling that distinguishes invalid inputs from valid radical values.
F5 is an actually empty cell. Errors below are the tested build’s results, not zero-valued mathematical answers.
| Formula | Gnumeric 1.12.57 result |
|---|---|
=NT_RADICAL(0) |
#NUM! |
=NT_RADICAL(-1) |
#NUM! |
=NT_RADICAL(0.9) |
#NUM! |
=NT_RADICAL(9.9) |
3 |
=NT_RADICAL("abc") |
#VALUE! |
=NT_RADICAL(F5) |
#NUM! |
=NT_RADICAL(TRUE()) |
1 |
=NT_RADICAL() |
#N/A |
=NT_RADICAL(9007199254740994) |
#NUM! |
Official evidence and checking scope
The retained workbook’s stale SUM cache and uncached SUM both recalculated correctly. Formula identities, typed inputs and native results were inspected. The importer reported unsupported style-extension elements; that warning is retained, and no all-formatting claim is made. GUI entry, other locales and later-release output were not tested.