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!)
A210679 Number of distinct prime factors <= 7 of n. 6
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
Periodic with period length 210. - Amiram Eldar, Sep 16 2023
LINKS
Index entries for linear recurrences with constant coefficients, signature (-3,-5,-6,-6,-5,-3,0,3,5,6,6,5,3,1).
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)
MATHEMATICA
Join[{0}, Table[Count[FactorInteger[n][[All, 1]], _?(#<8&)], {n, 2, 100}]] (* Harvey P. Dale, Aug 18 2021 *)
a[n_] := PrimeNu[GCD[n, 210]]; Array[a, 100] (* Amiram Eldar, Sep 16 2023 *)
PROG
(Haskell)
a210679 = length . takeWhile (<= 7) . a027748_row
(PARI) a(n) = omega(gcd(n, 210)); \\ Amiram Eldar, Sep 16 2023
CROSSREFS
Number of distinct prime factors <= p: A171182 (p=3), A178146 (p=5), this sequence (p=7).
Sequence in context: A327954 A336386 A279126 * A143262 A035180 A163819
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Apr 01 2012
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 23 10:21 EDT 2024. Contains 371905 sequences. (Running on oeis4.)