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!)
A365472 Numbers whose digits are either all primes or all nonprimes. 1
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 16, 18, 19, 22, 23, 25, 27, 32, 33, 35, 37, 40, 41, 44, 46, 48, 49, 52, 53, 55, 57, 60, 61, 64, 66, 68, 69, 72, 73, 75, 77, 80, 81, 84, 86, 88, 89, 90, 91, 94, 96, 98, 99, 100, 101, 104, 106, 108, 109, 110, 111, 114 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Complement of A365589.
Union of A046034 and A084984.
LINKS
MATHEMATICA
a[n_Integer?NonNegative] := Select[Range[0, n], Module[{digits, primeDigits}, digits = IntegerDigits[#]; primeDigits = MemberQ[{2, 3, 5, 7}, #] & /@ digits; AllTrue[primeDigits, Identity] || AllTrue[primeDigits, Not]] &]; a[114] (* Robert P. P. McKone, Sep 13 2023 *)
CROSSREFS
Sequence in context: A252494 A030294 A125668 * A034894 A263564 A061430
KEYWORD
nonn,base
AUTHOR
James C. McMahon, Sep 11 2023
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 1 05:44 EDT 2024. Contains 372148 sequences. (Running on oeis4.)