View source: R/HighestPrimePotence.R
HighestPrimePotence | R Documentation |
Compute the highest prime potence, i.e. the maximal $p^a$ in the prime factor decomposition of a non-zero number.
HighestPrimePotence(x)
x |
A non-zero whole number where we want to compute the highest prime factor from. |
Iteratively divide x by smaller increasing numbers until it has absolute value 1.
Maximum prime potence.
Julian Maerte
HighestPrimePotence(200) # = 25
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.