A351946 a(n) = A051903(A181819(n)).
0, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 1, 3, 1, 1, 2, 2, 2, 2, 1, 2, 2, 1, 1, 3, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 1, 2, 3, 1, 1, 2, 3, 1, 1, 1, 2, 1, 1, 2, 3, 1, 1, 1, 2, 1, 2, 2, 2, 2, 1, 1, 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, 2, 1, 3, 1, 1, 3
Offset: 1
Keywords
Links
Crossrefs
Programs
-
Mathematica
{0}~Join~Array[Max[FactorInteger[#][[All, -1]]] &@ Apply[Times, Prime[FactorInteger[#][[All, -1]]]] &, 104, 2] (* Michael De Vlieger, Apr 03 2022 *)
-
PARI
A051903(n) = if((1==n),0,vecmax(factor(n)[, 2])); A181819(n) = factorback(apply(e->prime(e),(factor(n)[,2]))); A351946(n) = A051903(A181819(n));