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 A386131 #6 Jul 17 2025 19:36:34 %S A386131 5,11,19,59,61,151,191,199,569,599,619,659,661,691,911,919,991,1151, %T A386131 1511,1559,1619,1669,1699,1951,1999,5119,5519,5569,5591,5651,5659, %U A386131 5669,6151,6199,6551,6569,6599,6619,6659,6661,6691,6911,6959,6961,6991,9151,9161,9199 %N A386131 Primes having only {1, 5, 6, 9} as digits. %H A386131 Jason Bard, <a href="/A386131/b386131.txt">Table of n, a(n) for n = 1..10000</a> %H A386131 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386131 Flatten[Table[Select[FromDigits /@ Tuples[{1, 5, 6, 9}, n], PrimeQ], {n, 7}]] %o A386131 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [1, 5, 6, 9]]; %o A386131 (Python) print(list(islice(primes_with("1569"), 41))) # uses function/imports in A385776 %o A386131 (PARI) primes_with(, 1, [1, 5, 6, 9]) \\ uses function in A385776 %Y A386131 Supersequence of A363023, A385779, A385781, A385797. %Y A386131 Cf. A000040, A385776. %K A386131 nonn,base,easy %O A386131 1,1 %A A386131 _Jason Bard_, Jul 17 2025