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.

A341523 Number of prime factors (with multiplicity) shared by n and sigma(n): a(n) = bigomega(gcd(n, sigma(n))).

Original entry on oeis.org

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

Views

Author

Antti Karttunen, Feb 17 2021

Keywords

Crossrefs

Cf. A000203, A003961, A009194, A014567 (positions of zeros), A341519, A341524.

Programs

  • Mathematica
    Table[PrimeOmega[GCD[n, DivisorSigma[1, n]]], {n, 1, 100}] (* Amiram Eldar, Feb 17 2021 *)
  • PARI
    A341523(n) = bigomega(gcd(n, sigma(n)));

Formula

a(n) = A001222(A009194(n)).
a(n) = A001222(n) - A341524(n).
a(A003961(n)) = A341519(n).