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 A386156 #6 Jul 18 2025 05:20:50 %S A386156 2,29,229,269,449,499,929,2269,2699,2969,2999,4229,4649,4969,4999, %T A386156 6229,6269,6299,6449,6469,6949,9629,9649,9929,9949,22229,22469,22669, %U A386156 22699,24229,24469,24499,26249,26449,26669,26699,29269,29429,29629,29669,42299,42499,42649 %N A386156 Primes having only {2, 4, 6, 9} as digits. %H A386156 Jason Bard, <a href="/A386156/b386156.txt">Table of n, a(n) for n = 1..10000</a> %H A386156 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386156 Flatten[Table[Select[FromDigits /@ Tuples[{2, 4, 6, 9}, n], PrimeQ], {n, 7}]] %o A386156 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [2, 4, 6, 9]]; %o A386156 (Python) print(list(islice(primes_with("2469"), 41))) # uses function/imports in A385776 %o A386156 (PARI) primes_with(, 1, [2, 4, 6, 9]) \\ uses function in A385776 %Y A386156 Supersequence of A107666, A385785, A385788. %Y A386156 Cf. A000040, A030433, A385776. %K A386156 nonn,base,easy %O A386156 1,1 %A A386156 _Jason Bard_, Jul 18 2025