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 A386155 #6 Jul 18 2025 05:20:41 %S A386155 2,7,47,67,227,277,467,647,677,727,2267,2447,2467,2477,2647,2677,2767, %T A386155 2777,4447,6247,6277,6427,7247,7477,7727,22247,22277,22447,22727, %U A386155 22777,24247,24677,24767,26227,26267,26627,26647,26777,27277,27427,27647,27767,42227 %N A386155 Primes having only {2, 4, 6, 7} as digits. %H A386155 Jason Bard, <a href="/A386155/b386155.txt">Table of n, a(n) for n = 1..10000</a> %H A386155 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386155 Flatten[Table[Select[FromDigits /@ Tuples[{2, 4, 6, 7}, n], PrimeQ], {n, 7}]] %o A386155 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 4, 6, 7]]; %o A386155 (Python) print(list(islice(primes_with("2467"), 41))) # uses function/imports in A385776 %o A386155 (PARI) primes_with(, 1, [2, 4, 6, 7]) \\ uses function in A385776 %Y A386155 Supersequence of A385784, A385787, A385794. %Y A386155 Cf. A000040, A030432, A385776. %K A386155 nonn,base,easy %O A386155 1,1 %A A386155 _Jason Bard_, Jul 18 2025