|
|
A334621
|
|
Number of unitary prime divisors, p, of n such that n-p is squarefree.
|
|
0
|
|
|
0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 2, 1, 1, 0, 0, 1, 1, 1, 0, 2, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 2, 0, 1, 0, 0, 0, 1, 0, 1, 2, 1, 0, 0, 0, 1, 0, 1, 2, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,33
|
|
LINKS
|
|
|
FORMULA
|
a(n) = Sum_{p|n, p prime, gcd(p,n/p) = 1} mu(n-p)^2, where mu is the Moebius function (A008683).
|
|
EXAMPLE
|
a(10) = 1; 5 is a unitary prime divisor of 10 since gcd(5,2) = 1, and 10 - 5 = 5 (squarefree).
a(33) = 2; 3 is a unitary prime divisor of 33 since gcd(3,11) = 1, and 33 - 3 = 30 (squarefree).
|
|
MATHEMATICA
|
Table[Sum[MoebiusMu[n - i]^2*KroneckerDelta[GCD[i, n/i], 1] (PrimePi[i] - PrimePi[i - 1]) (1 - Ceiling[n/i] + Floor[n/i]), {i, n}], {n, 100}]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|