A293234 a(n) is the number of proper divisors of n that are square.
0, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 2, 1, 1, 1, 2, 2, 1, 1, 3, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 2, 3, 1, 1, 1, 2, 1, 1, 1, 4, 1, 1, 2, 2, 1, 1, 1, 3, 2, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 3, 1, 2, 2, 3, 1, 1, 1, 2, 1
Offset: 1
Keywords
Links
Programs
-
Mathematica
f[n_] := Length@ Select[ Sqrt@ Most@ Divisors@ n, IntegerQ]; Array[f, 105] (* Robert G. Wilson v, Oct 08 2017 *)
-
PARI
A293234(n) = sumdiv(n,d,(d
Formula
a(n) = Sum_{d|n, dA010052(d).
G.f.: Sum_{k>=1} x^(2*k^2) / (1 - x^(k^2)). - Ilya Gutkovskiy, Apr 13 2021
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Pi^2/6 (A013661). - Amiram Eldar, Dec 01 2023
Comments