login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
Cf. A005117 (squarefree numbers), A008683 (Moebius), A056169 (number of unitary prime divisors of n).
Sequence in context: A204179 A204244 A083093 * A293899 A015794 A011650
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Sep 09 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 10:47 EDT 2024. Contains 371967 sequences. (Running on oeis4.)