OFFSET
1,4
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
Table of n, a(n) for select n:
n a(n) s(n) List of d | s(n) such that d is in A332785
-----------------------------------------------------------
1 1 12 {12}
2 1 18 {18}
3 1 20 {20}
4 2 24 {12, 24}
5 1 28 {28}
10 3 48 {12, 24, 48}
26 4 96 {12, 24, 48, 96}
35 6 120 {12, 20, 24, 40, 60, 120}
57 7 180 {12, 18, 20, 45, 60, 90, 180}
61 5 192 {12, 24, 48, 96, 192}
77 9 240 {12, 20, 24, 40, 48, 60, 80, 120, 240}
571 8 1536 {12, 24, 48, 96, 192, 384, 768, 1536}
.
Let b = A380691. For 2 nonzero positive numbers j and m that are not coprime, let quality Q(j,m) be rad(j) | m but rad(m) does not divide j. In A380691, we want divisor pairs (d,k/d) such that only one of Q(d,k/d) and Q(k/d,d) is true.
a(15) = 3 since, among divisors of s(15) = 60, only {12, 24, 60} are neither squarefree nor powerful.
b(15) = 2 because, among divisors pairs (d,k/d) for k = s(15) = 60, we look for (d,k/d) as described above. Only (2,30) and (3,20) qualify; note that both Q(6,10) and Q(10,6) are true and so (6,10) is not included.
MATHEMATICA
fQ[x_] := And[! SquareFreeQ[x], Min@ FactorInteger[x][[;; , -1]] == 1]; s = Select[Range[300], Nor[SquareFreeQ[#], PrimePowerQ[#]] &]; Table[DivisorSum[s[[n]], 1 &, fQ], {n, Length[s]}] (* or *)
f[x_] := Times @@ (# + 1) - Times @@ # - 2^Length[#] + 1 &[FactorInteger[x][[;; , -1]] ]; Array[f, 120]; s = Select[Range[300], Nor[SquareFreeQ[#], PrimePowerQ[#]] &]; Map[f, s]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael De Vlieger, Mar 29 2026
STATUS
approved
