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 A386019 #6 Jul 14 2025 21:17:45 %S A386019 2,11,61,101,211,601,661,1021,1061,1201,1601,1621,2011,2111,2161,2221, %T A386019 2621,6011,6101,6121,6211,6221,6661,10061,10111,10211,10601,11161, %U A386019 11261,11621,12011,12101,12161,12211,12601,12611,16001,16061,16111,16661,20011,20021 %N A386019 Primes having only {0, 1, 2, 6} as digits. %H A386019 Jason Bard, <a href="/A386019/b386019.txt">Table of n, a(n) for n = 1..10000</a> %H A386019 <a href="/index/Pri#PrimesWithDigits">Index to entries for primes with digits in a given set</a> %t A386019 Select[FromDigits /@ Tuples[{0, 1, 2, 6}, n], PrimeQ] %o A386019 (Magma) [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 2, 6]]; %o A386019 (Python) print(list(islice(primes_with("0126"), 41))) # uses function/imports in A385776 %o A386019 (PARI) primes_with(, 1, [0, 1, 2, 6]) \\ uses function in A385776 %Y A386019 Supersequence of A036953, A199326, A285774. %Y A386019 Cf. A000040, A030430, A385776. %K A386019 nonn,base,easy %O A386019 1,1 %A A386019 _Jason Bard_, Jul 14 2025