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.

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

This page as a plain text file.
%I A036932 #13 Mar 09 2020 09:12:39
%S A036932 5,11,151,1151,11551,115151,1111151,15511151,111151511,1111115111,
%T A036932 11111151551,111111111511,1111111155151,11111111511151,
%U A036932 111111111155111,1111111111155151,11111111111115151,111111111115151551
%N A036932 Smallest n-digit prime containing only digits 1 and 5, or 0 if no such prime exists.
%H A036932 Jinyuan Wang, <a href="/A036932/b036932.txt">Table of n, a(n) for n = 1..500</a>
%t A036932 Table[SelectFirst[FromDigits/@Tuples[{1,5},n],PrimeQ],{n,20}] (* _Harvey P. Dale_, Aug 04 2019 *)
%Y A036932 Cf. A020453, A036229, A036305.
%K A036932 nonn,base
%O A036932 1,1
%A A036932 _Patrick De Geest_, Jan 04 1999
%E A036932 Corrected by _Harvey P. Dale_, Mar 19 2013