Largest Prime Exponents Given an integer n &gt;= 2, output the largest exponent in its prime factorization. This is OEIS sequence A051903.
Example
Let n = 144. Its prime factorization is 2^4 * 3^2. The largest exponent is 4.
Test Cases
2 -&gt; 1
3 -&gt; 1
4 -&gt; 2
5 -&gt; 1
6 -&gt; 1
7 -&gt; 1
8 -&gt; 3
9 -&gt; 2
10 -&gt; 1
11 -&gt; 1
12 -&gt; 2
144 -&gt; 4
200 -&gt; 3
500 -&gt; 3
1024 -&gt; 10
3257832488 -&gt; 3
05AB1E, 2 bytes

ÓZ


Try it online!

How?

Ó   exponents of prime factors
 Z  maximum