This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A361822 #33 Jul 23 2025 18:31:04 %S A361822 3,7,11,13,17,19,31,37,41,43,47,61,67,71,73,79,83,89,97,101,103,107, %T A361822 109,113,131,137,139,149,163,167,173,179,181,191,193,197,199,307,311, %U A361822 313,317,331,337,347,349,367,373,379,383,389,397,401,409,419,431,433,439,443,449,461,463 %N A361822 Primes without {2, 5} as digits. %C A361822 Subsequence of primes that are in A361780. %H A361822 Jason Bard, <a href="/A361822/b361822.txt">Table of n, a(n) for n = 1..10000</a> %H A361822 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %p A361822 filter:= proc(n) convert(convert(n,base,10),set) intersect {2,5} = {} end proc: %p A361822 select(filter, [seq(ithprime(i),i=1..1000)]); # _Robert Israel_, Mar 26 2023 %t A361822 Select[Prime[Range[100]], AllTrue[IntegerDigits[#], ! MemberQ[{2, 5}, #1] &] &] (* _Amiram Eldar_, Mar 26 2023 *) %o A361822 (Python) print(list(islice(primes_with("01346789"), 41))) # uses function/imports in A385776. _Jason Bard_, Jul 20 2025 %Y A361822 Intersection of A000040 and A361780. %Y A361822 Cf. A079651 (primes with {1, 4, 7}), A079652 (primes with {0, 3, 6, 8, 9}). %Y A361822 Cf. A247052 (primes with {1, 2, 4, 5, 7}), A034470 (primes with {0, 2, 3, 5, 6, 8, 9}). %Y A361822 Cf. A106116, A154761, A386320 - A386358 (primes without two decimal digits). %Y A361822 Cf. A385776. %K A361822 nonn,base %O A361822 1,1 %A A361822 _Bernard Schott_, Mar 26 2023