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.

A156542 Number of distinct Sophie Germain prime factors of n.

Original entry on oeis.org

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

Views

Author

Reinhard Zumkeller, Feb 10 2009

Keywords

Crossrefs

Programs

Formula

a(n) <= A001221(n).
a(A156541(n)) = A001221(A156541(n)); a(A156543(n)) = 0.
a(A005384(n)) = 1; a(A053176(n)) = 0.
a(n) = Sum_{p|n} A101264(p), where p is a prime. - Ridouane Oudra, Aug 25 2019
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Sum_{k>=1} 1/A005384(k) (see A005384 for an estimate of this sum). - Amiram Eldar, Jun 03 2024