OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
Multiplicative with a(p^e) = e+1 if p <= 5 and 1 otherwise.
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 15/4.
Dirichlet g.f.: zeta(s)/((1-1/2^s)*(1-1/3^s)*(1-1/5^s)). - Amiram Eldar, Dec 25 2022
MATHEMATICA
a[n_] := Times @@ (1 + IntegerExponent[n, {2, 3, 5}]); Array[a, 100]
PROG
(PARI) a(n) = (valuation(n, 2) + 1) * (valuation(n, 3) + 1) * (valuation(n, 5) + 1);
(Python)
from sympy import multiplicity as v
def a(n): return (v(2, n)+1)*(v(3, n)+1)*(v(5, n)+1)
print([a(n) for n in range(1, 87)]) # Michael S. Branicky, Jul 08 2022
CROSSREFS
KEYWORD
nonn,mult,easy
AUTHOR
Amiram Eldar, Jul 08 2022
STATUS
approved