OFFSET
1,16
LINKS
FORMULA
a(n) = A046951(n) - 1.
G.f.: Sum_{k>=2} x^(k^2)/(1 - x^(k^2)). - Ilya Gutkovskiy, Jan 04 2017
Asymptotic mean: lim_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Pi^2/6 - 1. - Amiram Eldar, Sep 25 2022
MATHEMATICA
a[n_] := DivisorSum[n, Boole[#>1 && IntegerQ[Sqrt[#]]]&]
Array[a, 100] (* Jean-François Alcover, Dec 10 2021 *)
PROG
(PARI) a(n) = sumdiv(n, d, issquare(d) && (d>1)); \\ Michel Marcus, Jan 04 2017
(Python)
from math import prod
from sympy import factorint
def A071325(n): return prod((e>>1)+1 for e in factorint(n).values())-1 # Chai Wah Wu, Oct 06 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, May 18 2002
STATUS
approved