%I #13 Mar 22 2018 04:12:58
%S 7,11,911,8111,16111,911111,1171111,71111111,131111111,1711111111,
%T 31111111111,311111111111,5111111111111,41111111111111,
%U 111151111111111,5111111111111111,11111611111111111,191111111111111111
%N Largest n digit prime with the most digits equal to 1.
%C Select first for maximum number of 1's, then take the largest.
%C In more detail: To get a(n), look at the list of all the n-digit primes. Suppose k is the maximum number of 1's of any number on the list. Throw out any prime on the list that does not contain k 1's. Then a(n) = maximal number that is left on the list. - _N. J. A. Sloane_, Mar 20 2018
%Y Cf. A004022, A037055, A105992, A178000.
%K nonn,base
%O 1,1
%A _Lekraj Beedassy_, May 17 2010