cp's OEIS Frontend

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.

A036933 Smallest n-digit prime containing only digits 1 and 6, or 0 if no such prime exists.

This page as a plain text file.
%I A036933 #13 Mar 09 2020 09:12:46
%S A036933 0,11,661,6661,11161,111611,1111661,11111161,111616111,1111161661,
%T A036933 11111111611,111111111611,1111111111661,11111111616611,
%U A036933 111111111116111,1111111111616161,11111111111611661,111111111111111161
%N A036933 Smallest n-digit prime containing only digits 1 and 6, or 0 if no such prime exists.
%H A036933 Jinyuan Wang, <a href="/A036933/b036933.txt">Table of n, a(n) for n = 1..500</a>
%t A036933 Join[{0},Flatten[Table[Select[Sort[FromDigits/@Tuples[{1,6},i]], PrimeQ, 1], {i,2,20}]]] (* _Harvey P. Dale_, May 06 2014 *)
%Y A036933 Cf. A020454, A036229, A036306.
%K A036933 nonn,base
%O A036933 1,2
%A A036933 _Patrick De Geest_, Jan 04 1999