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!)
A117815 Composite numbers at least one of whose decimal digits is prime. 3
12, 15, 20, 21, 22, 24, 25, 26, 27, 28, 30, 32, 33, 34, 35, 36, 38, 39, 42, 45, 50, 51, 52, 54, 55, 56, 57, 58, 62, 63, 65, 70, 72, 74, 75, 76, 77, 78, 82, 85, 87, 92, 93, 95, 102, 105, 112, 115, 117, 120, 121, 122, 123, 124, 125, 126, 128, 129, 130, 132, 133 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
PROG
(Python)
from sympy import isprime
def ok(n): return set(str(n)) & set("2357") != set() and not isprime(n)
print([k for k in range(134) if ok(k)]) # Michael S. Branicky, Dec 15 2021
CROSSREFS
Supersequence of A117815.
Sequence in context: A115349 A196224 A163657 * A154390 A346608 A156683
KEYWORD
base,easy,nonn
AUTHOR
Giovanni Teofilatto, Apr 30 2006
EXTENSIONS
Corrected by Giovanni Teofilatto, May 12 2006
Name edited by Michael S. Branicky, Dec 15 2021
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 17 05:47 EDT 2024. Contains 371756 sequences. (Running on oeis4.)