login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A376514
Number of divisors of n that are neither squarefree nor prime powers.
3
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 2, 0, 0, 0, 1, 1, 0, 0, 3, 0, 1, 0, 1, 0, 2, 0, 2, 0, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 5, 0, 0, 1, 1, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0
OFFSET
1,24
COMMENTS
This sequence is distinct from both A062977 and A335460.
A062977(36) = 0 while a(36) = 3 = card({12, 18, 36}).
A335460(60) = 6 while a(60) = 3 = card({12, 20, 60}).
LINKS
FORMULA
a(n) = tau(n) - 2^omega(n) - bigomega(n) + omega(n).
a(n) = A000005(n) - 2^A001221(n) - A001222(n) + A001221(n).
a(n) = A000005(n) - 2^A001221(n) - A046660(n).
Intersection of row n of A027750 and A126706.
a(n) > 0 for n in A126706.
MATHEMATICA
{0}~Join~Table[DivisorSigma[0, n] - Total@ #1 - 2^#2 + #2 & @@ {#, Length[#]} &[FactorInteger[n][[All, -1]] ], {n, 2, 120}] (* or *)
Table[DivisorSum[n, 1 &, Nor[PrimePowerQ[#], SquareFreeQ[#]] &], {n, 120}]
KEYWORD
nonn,easy
AUTHOR
Michael De Vlieger, Sep 25 2024
STATUS
approved