OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
f[p_, e_] := Floor[Log2[e + 1]] + 1; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
PROG
(PARI) a(n) = vecprod(apply(x -> exponent(x+1)+1, factor(n)[, 2]));
(Python)
from math import prod
from sympy import factorint
def A372380(n): return prod((e+1).bit_length() for e in factorint(n).values()) # Chai Wah Wu, Apr 30 2024
CROSSREFS
KEYWORD
nonn,easy,mult
AUTHOR
Amiram Eldar, Apr 29 2024
STATUS
approved