cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A336388 Number of prime divisors of sigma(n) that divide n; a(1) = 0.

Original entry on oeis.org

0, 0, 0, 0, 0, 2, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 2, 0, 1, 0, 2, 0, 2, 0, 0, 1, 1, 0, 0, 0, 1, 0, 2, 0, 2, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 2, 0, 1, 0, 1, 0, 2, 0, 1, 0, 0, 0, 2, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 2, 0, 1, 0, 1, 0, 2, 0, 1, 1, 1, 0, 2, 1, 1, 0, 1, 1, 2, 0, 0, 1, 0, 0, 2, 0, 1, 1
Offset: 1

Views

Author

Antti Karttunen, Jul 25 2020

Keywords

Crossrefs

Cf. also A173438, A336352, A336387.

Programs

  • PARI
    A336388(n) = if(1==n,0,#select(p -> !(n%p), factor(sigma(n))[, 1]));

Formula

a(n) = Sum_{p over distinct primes dividing sigma(n)} [p|n], where [ ] is the Iverson bracket, giving in this case 1 only if p divides n, and 0 otherwise.
Showing 1-1 of 1 results.