OFFSET
1,3
EXAMPLE
a(12) = 1 because 2^2 is the largest prime power (yet not the power of the largest prime) dividing 12 and 2 is the first prime.
MATHEMATICA
a = {0}; For[n = 2, n < 80, n++, max = 0; b = FactorInteger[n]; For[j = 1, j < Length[b] + 1, j++, If[b[[j, 1]]^b[[j, 2]] > max, max = b[[j, 1]]^b[[j, 2]]]]; AppendTo[a, PrimePi[FactorInteger[max][[1, 1]]]]]; a (* Stefan Steinerberger, Oct 24 2007 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jun 16 2005
EXTENSIONS
More terms from Stefan Steinerberger, Oct 24 2007
STATUS
approved