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!)
A030475 Primes with property that all even digits occur together and all odd digits occur together. 2
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 113, 131, 137, 139, 151, 157, 173, 179, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 311, 313, 317 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
filter:= proc(n) local L; L:= convert(n, base, 10) mod 2;
not member(-1, L[1..-2]-L[2..-1])
end proc:
select(filter, [seq(ithprime(i), i=1..1000)]);
MATHEMATICA
With[{upto=100}, Select[Prime[Range[upto]], Length[SplitBy[IntegerDigits[#], Mod[#, 2]&]]<3&]] (* Paolo Xausa, Oct 18 2023 *)
CROSSREFS
Sequence in context: A082646 A231588 A038618 * A069676 A062353 A077390
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Offset changed by Robert Israel, Oct 17 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 April 16 03:59 EDT 2024. Contains 371696 sequences. (Running on oeis4.)