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 A386098 #6 Jul 17 2025 00:49:50 %S A386098 2,5,11,19,29,59,151,191,199,211,229,251,521,599,911,919,929,991,1129, %T A386098 1151,1229,1259,1291,1511,1559,1951,1999,2111,2129,2221,2251,2521, %U A386098 2551,2591,2999,5119,5519,5521,5591,9151,9199,9221,9511,9521,9551,9929,11119,11159 %N A386098 Primes having only {1, 2, 5, 9} as digits. %H A386098 Jason Bard, <a href="/A386098/b386098.txt">Table of n, a(n) for n = 1..10000</a> %H A386098 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386098 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 5, 9}, n], PrimeQ], {n, 7}]] %o A386098 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 5, 9]]; %o A386098 (Python) print(list(islice(primes_with("1259"), 41))) # uses function/imports in A385776 %o A386098 (PARI) primes_with(, 1, [1, 2, 5, 9]) \\ uses function in A385776 %Y A386098 Supersequence of A385773, A385776, A385781, A385786. %Y A386098 Cf. A000040, A385776. %K A386098 nonn,base,easy %O A386098 1,1 %A A386098 _Jason Bard_, Jul 17 2025