Perfect power
From Wikipedia, the free encyclopedia
In mathematics, a perfect power is a number that can be expressed as a power of any positive, whole number. More formally, n is a perfect power if there exist natural numbers m > 1, and k > 1 such that mk = n. In this case, n may be called a perfect kth power. If k=2 or k=3, then n would be called a perfect square or perfect cube, respectively.
A sequence of perfect powers can be generated by iterating through the possible values for m and k. The first few ascending perfect powers in numerical order (showing duplicates) are:
According to Euler, Goldbach showed (in a now lost letter) that the sum of 1/(p-1) over the set of perfect powers p, excluding 1 and omitting repetitions, converges to 1:
This is sometimes known as the Goldbach-Euler theorem.
Contents |
[edit] Detecting perfect powers
Detecting whether or not a given natural number n is a perfect power may be accomplished in many different ways, with varying levels of complexity. One of the simplest such methods is to consider all possible values for k across each of the divisors of n, up to . So if the factors of n are then one of the values must be equal to n if n is indeed a perfect power.
This method can immediately be simplified by instead considering only prime values of k. This is because if n = mk and k = ap where a is composite and p is prime, then this can simply be rewritten as n = mk = map = (ma)p. Because of this result, the minimal value of k must necessarily be prime.
[edit] See also
[edit] References
- Daniel J. Bernstein (1998). "Detecting perfect powers in essentially linear time". Mathematics of Computation 67 (223): 1253–1283.
[edit] External links
This number theory-related article is a stub. You can help Wikipedia by expanding it. |