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 A386091 #7 Jul 16 2025 23:39:04 %S A386091 2,5,11,41,151,211,241,251,421,521,541,1151,1451,1511,2111,2141,2221, %T A386091 2251,2411,2441,2521,2551,4111,4211,4241,4421,4441,4451,5441,5521, %U A386091 11251,11411,11551,12211,12241,12251,12421,12451,12511,12541,14221,14251,14411,14551 %N A386091 Primes having only {1, 2, 4, 5} as digits. %H A386091 Jason Bard, <a href="/A386091/b386091.txt">Table of n, a(n) for n = 1..10000</a> %H A386091 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386091 Flatten[Table[Select[FromDigits /@ Tuples[{1, 2, 4, 5}, n], PrimeQ], {n, 7}]] %o A386091 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 2, 4, 5]]; %o A386091 (Python) print(list(islice(primes_with("1245"), 41))) # uses function/imports in A385776 %o A386091 (PARI) primes_with(, 1, [1, 2, 4, 5]) \\ uses function in A385776 %Y A386091 Supersequence of A260267, A260268, A385773. %Y A386091 Cf. A000040, A030430, A385776. %K A386091 nonn,base,easy %O A386091 1,1 %A A386091 _Jason Bard_, Jul 16 2025