OFFSET
1,2
LINKS
FORMULA
a(n) = A051903(2*n).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 1 + Sum_{k>=2} (1 - (2^k-2)/((2^k-1)*zeta(k))) = 2.15062559388175538361... .
MATHEMATICA
a[n_] := Max[FactorInteger[2*n][[;; , 2]]]; Array[a, 100]
PROG
(PARI) a(n) = vecmax(factor(2*n)[, 2]);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Jul 28 2024
STATUS
approved