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!)
A336387 Number of prime divisors of n that do not divide sigma(n); a(1) = 0. 2
0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 2, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 0, 2, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 0, 1, 2, 1, 2, 1, 1, 1, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,21
LINKS
FORMULA
a(n) = Sum_{p over distinct primes dividing n} [sigma(n) != 0 mod p].
MATHEMATICA
Table[Length[Select[FactorInteger[n][[All, 1]], Mod[DivisorSigma[ 1, n], #]!= 0&]], {n, 110}] (* Harvey P. Dale, Jan 15 2022 *)
PROG
(PARI) A336387(n) = if(1==n, 0, my(s=sigma(n)); #select(p -> (s%p), factor(n)[, 1]));
CROSSREFS
Cf. A175200 (positions of zeros).
Cf. also A173438, A336352, A336388.
Sequence in context: A341969 A261447 A287325 * A358217 A286133 A328248
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 25 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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)