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.

A210679 Number of distinct prime factors <= 7 of n.

Original entry on oeis.org

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

Views

Author

Reinhard Zumkeller, Apr 01 2012

Keywords

Comments

Periodic with period length 210. - Amiram Eldar, Sep 16 2023

Crossrefs

Number of distinct prime factors <= p: A171182 (p=3), A178146 (p=5), this sequence (p=7).

Programs

Formula

a(n) <= 4.
a(A008364(n)) = 0; a(A080672(n)) > 0.
a(n) = A001221(n) iff n is 7-smooth: a(A002473(n)) = A001221(A002473(n)). [corrected by Amiram Eldar, Sep 16 2023]
From Amiram Eldar, Sep 16 2023: (Start)
Additive with a(p^e) = 1 if p <= 7, and 0 otherwise.
a(n) = A001221(A165743(n)).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 247/210. (End)