login
A375667
The maximum exponent in the prime factorization of the 5-rough numbers (A007310).
2
0, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1
OFFSET
1,9
LINKS
FORMULA
a(n) = A051903(A007310(n)).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 1 + Sum_{k>=2} (1 - 1/((1-1/2^k) * (1-1/3^k) * zeta(k))) = 1.1034178389191320571029... .
MATHEMATICA
a[n_] := Max[FactorInteger[6*Floor[n/2] - (-1)^n][[;; , 2]]]; a[1] = 0; Array[a, 100]
PROG
(PARI) a(n) = if(n == 1, 0, vecmax(factor(n\2*6-(-1)^n)[, 2]));
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Aug 23 2024
STATUS
approved