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 A386031 #9 Aug 27 2025 18:51:03 %S A386031 5,11,61,101,151,601,661,1051,1061,1151,1511,1601,5011,5051,5101,5501, %T A386031 5651,6011,6101,6151,6551,6661,10061,10111,10151,10501,10601,10651, %U A386031 11161,11551,15061,15101,15161,15511,15551,15601,15661,16001,16061,16111,16561,16651 %N A386031 Primes having only {0, 1, 5, 6} as digits. %C A386031 Primes with decimal digits only in the set {0,1} mod 5. %H A386031 Jason Bard, <a href="/A386031/b386031.txt">Table of n, a(n) for n = 1..10000</a> %H A386031 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386031 Select[FromDigits/@Tuples[{0,1,5,6},5],PrimeQ] %o A386031 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 5, 6]]; %o A386031 (Python) print(list(islice(primes_with("0156"), 41))) # uses function/imports in A385776 %o A386031 (PARI) primes_with(, 1, [0, 1, 5, 6]) \\ uses function in A385776 %Y A386031 Supersequence of A199325, A199326, A385779. %Y A386031 Cf. A000040, A030430, A385776. %K A386031 nonn,base,easy,changed %O A386031 1,1 %A A386031 _Jason Bard_, Jul 14 2025 %E A386031 Mathematica program corrected by _Harvey P. Dale_, Aug 27 2025