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!)
A361822 Primes that have digits consisting only of line segments {1, 4, 7} or curved digits {0, 3, 6, 8, 9}. 0
3, 7, 11, 13, 17, 19, 31, 37, 41, 43, 47, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 131, 137, 139, 149, 163, 167, 173, 179, 181, 191, 193, 197, 199, 307, 311, 313, 317, 331, 337, 347, 349, 367, 373, 379, 383, 389, 397, 401, 409, 419, 431, 433, 439, 443, 449, 461, 463 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
These primes contain all digits except for 2 and 5.
Subsequence of primes that are in A361780.
LINKS
MAPLE
filter:= proc(n) convert(convert(n, base, 10), set) intersect {2, 5} = {} end proc:
select(filter, [seq(ithprime(i), i=1..1000)]); # Robert Israel, Mar 26 2023
MATHEMATICA
Select[Prime[Range[100]], AllTrue[IntegerDigits[#], ! MemberQ[{2, 5}, #1] &] &] (* Amiram Eldar, Mar 26 2023 *)
CROSSREFS
Intersection of A000040 and A361780.
Cf. A079651 (primes with {1, 4, 7}), A079652 (primes with {0, 3, 6, 8, 9}).
Cf. A247052 (primes with {1, 2, 4, 5, 7}), A034470 (primes with {0, 2, 3, 5, 6, 8, 9}).
Sequence in context: A226014 A023236 A038920 * A091633 A166559 A177193
KEYWORD
nonn,base
AUTHOR
Bernard Schott, Mar 26 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 25 12:33 EDT 2024. Contains 371969 sequences. (Running on oeis4.)