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 A199326 #15 Jul 14 2025 17:27:11 %S A199326 11,61,101,601,661,1061,1601,6011,6101,6661,10061,10111,10601,11161, %T A199326 16001,16061,16111,16661,60101,60161,60601,60611,60661,61001,66161, %U A199326 66601,101111,101161,101611,106661,110161,111611,116101,160001,161611,166601,600011,600101,600601,601061,610661,611011,611101,611111 %N A199326 Primes having only {0, 1, 6} as digits. %H A199326 Jason Bard, <a href="/A199326/b199326.txt">Table of n, a(n) for n = 1..10000</a> %t A199326 Select[FromDigits/@Tuples[{0,1,6},6],PrimeQ] (* _Harvey P. Dale_, Dec 25 2018 *) %o A199326 (PARI) {L=[0,1,6];for(d=1,6,u=vector(d,i,10^(d-i))~;forvec(v=vector(d,i,[1+(i==1 & !L[1]),#L]),ispseudoprime(t=vector(d,i,L[v[i]])*u)&print1(t",")))} /* see A199327 for a function a() */ %Y A199326 Cf. A020449 - A020472, A199325 - A199329, A061247. %K A199326 nonn,base %O A199326 1,1 %A A199326 _M. F. Hasler_, Nov 05 2011