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 A386035 #6 Jul 15 2025 08:28:09 %S A386035 7,11,17,61,67,71,101,107,167,601,607,617,661,677,701,761,1061,1117, %T A386035 1171,1601,1607,1667,1777,6007,6011,6067,6101,6607,6661,6701,6761, %U A386035 7001,7177,7607,7717,10007,10061,10067,10111,10177,10601,10607,10667,10711,10771,11071 %N A386035 Primes having only {0, 1, 6, 7} as digits. %C A386035 Primes with decimal digits only in the set {0,1} mod 6. %H A386035 Jason Bard, <a href="/A386035/b386035.txt">Table of n, a(n) for n = 1..10000</a> %H A386035 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386035 Select[FromDigits /@ Tuples[{0, 1, 6, 7}, n], PrimeQ] %o A386035 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 6, 7]]; %o A386035 (Python) print(list(islice(primes_with("0167"), 41))) # uses function/imports in A385776 %o A386035 (PARI) primes_with(, 1, [0, 1, 6, 7]) \\ uses function in A385776 %Y A386035 Supersequence of A199325, A199326, A260891. %Y A386035 Cf. A000040, A385776. %K A386035 nonn,base,easy %O A386035 1,1 %A A386035 _Jason Bard_, Jul 14 2025