A342400 a(n) is the number of distinct sums of distinct unitary divisors of n.
1, 3, 3, 3, 3, 12, 3, 3, 3, 15, 3, 13, 3, 15, 15, 3, 3, 15, 3, 13, 15, 15, 3, 15, 3, 15, 3, 15, 3, 72, 3, 3, 15, 15, 15, 15, 3, 15, 15, 15, 3, 96, 3, 15, 15, 15, 3, 15, 3, 15, 15, 15, 3, 15, 15, 13, 15, 15, 3, 108, 3, 15, 15, 3, 15, 144, 3, 15, 15, 142, 3, 13
Offset: 1
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
a[n_] := Module[{d = Select[Divisors[n], CoprimeQ[#, n/#] &], x, s, m, c}, m = Length[d]; s = Plus @@ d; c = Rest@CoefficientList[Series[Product[1 + x^d[[i]], {i, 1, m}], {x, 0, s}], x]; Count[c, _?(# > 0 &)]]; Array[a, 100]