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!)
A080671 Numbers having divisors 2 or 3 or 5. 5
2, 3, 4, 5, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 25, 26, 27, 28, 30, 32, 33, 34, 35, 36, 38, 39, 40, 42, 44, 45, 46, 48, 50, 51, 52, 54, 55, 56, 57, 58, 60, 62, 63, 64, 65, 66, 68, 69, 70, 72, 74, 75, 76, 78, 80, 81, 82, 84, 85, 86, 87, 88, 90, 92, 93, 94, 95, 96, 98 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Complement of A007775. - Gary Detlefs, Oct 06 2013
The asymptotic density of this sequence is 11/15. - Amiram Eldar, Dec 07 2020
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-1).
FORMULA
a(n+22) = a(n) + 30. - Gary Detlefs, Oct 06 2013
MAPLE
A080671 := proc(n) local s; option remember;
s:=[2, 3, 4, 5, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 25, 26, 27, 28, 30];
if n <= 22 then s[n] else 30 + A080671(n-22); fi; end proc; # N. J. A. Sloane, Sep 01 2022
MATHEMATICA
Select[Range[98], Mod[#, 2]*Mod[#, 3]*Mod[#, 5] == 0 &] (* T. D. Noe, Oct 07 2013 *)
PROG
(PARI) div235(n) = { for(x=1, n, if(gcd(x, 30)<>1, print1(x", ")) ) }
CROSSREFS
Cf. A007775.
Sequence in context: A064390 A229461 A230709 * A286608 A225736 A225735
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Mar 02 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 March 29 04:23 EDT 2024. Contains 371264 sequences. (Running on oeis4.)