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 A386127 #6 Jul 17 2025 19:36:19 %S A386127 7,11,17,19,41,47,71,79,97,149,179,191,197,199,419,449,479,491,499, %T A386127 719,797,911,919,941,947,971,977,991,997,1117,1171,1447,1471,1499, %U A386127 1741,1747,1777,1949,1979,1997,1999,4111,4177,4441,4447,4799,4919,4999,7177,7411 %N A386127 Primes having only {1, 4, 7, 9} as digits. %H A386127 Jason Bard, <a href="/A386127/b386127.txt">Table of n, a(n) for n = 1..10000</a> %H A386127 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386127 Flatten[Table[Select[FromDigits /@ Tuples[{1, 4, 7, 9}, n], PrimeQ], {n, 7}]] %o A386127 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 4, 7, 9]]; %o A386127 (Python) print(list(islice(primes_with("1479"), 41))) # uses function/imports in A385776 %o A386127 (PARI) primes_with(, 1, [1, 4, 7, 9]) \\ uses function in A385776 %Y A386127 Supersequence of A079651, A260271, A260893, A261183. %Y A386127 Cf. A000040, A385776. %K A386127 nonn,base,easy %O A386127 1,1 %A A386127 _Jason Bard_, Jul 17 2025