The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A086299 a(n) = if n is 7-smooth then 1 else 0: characteristic function of 7-smooth numbers. 4
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Smooth Number.
FORMULA
Multiplicative with: a(p) = if p<=7 then 1 else 0, p prime.
a(A002473(n)) = 1; a(A068191(n)) = 0. - Reinhard Zumkeller, Apr 01 2012
Dirichlet g.f.: 1/((1-2^(-s))*(1-3^(-s))*(1-5^(-s))*(1-7^(-s))). - Amiram Eldar, Dec 27 2022
MATHEMATICA
Table[If[Max[Transpose[FactorInteger[n]][[1]]]<11, 1, 0], {n, 110}] (* Harvey P. Dale, Oct 08 2013 *)
smooth7Q[n_] := n == Times@@({2, 3, 5, 7}^IntegerExponent[n, {2, 3, 5, 7}]);
a[n_] := Boole[smooth7Q[n]];
Table[a[n], {n, 1, 100}] (* Jean-François Alcover, Oct 17 2021 *)
PROG
(Haskell)
a086299 = fromEnum . (<= 7) . a006530 -- Reinhard Zumkeller, Apr 01 2012
CROSSREFS
Sequence in context: A136522 A352871 A188641 * A131364 A152066 A334946
KEYWORD
nonn,mult
AUTHOR
Reinhard Zumkeller, Jul 15 2003
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 May 13 06:37 EDT 2024. Contains 372498 sequences. (Running on oeis4.)