OFFSET
1,4
FORMULA
a(p) = Sum_{d^2|p} Omega(p/d^2) = Omega(p) = 1 for primes p.
EXAMPLE
a(24) = Sum_{d^2|24} Omega(24/d^2) = Omega(24) + Omega(6) = 4 + 2 = 6.
a(32) = Sum_{d^2|32} Omega(32/d^2) = Omega(32) + Omega(8) + Omega(2) = 5 + 3 + 1 = 9.
MATHEMATICA
Table[Sum[PrimeOmega[n/k^2] (1 - Ceiling[n/k^2] + Floor[n/k^2]), {k, n}], {n, 100}]
PROG
(PARI) a(n) = sumdiv(n, d, if (issquare(d), bigomega(n/d))); \\ Michel Marcus, Jun 14 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jun 14 2021
STATUS
approved