%I #17 Sep 20 2024 12:27:16
%S 0,1,2,4,5,17,18,23,57,58,340,837,4280,5352,13675,17515,25856
%N Numbers k such that (10^k-1)^2 + 2 is prime.
%C No more terms up to k = 4000.
%o (PARI) is(n)=ispseudoprime((10^n-1)^2+2) \\ _Charles R Greathouse IV_, Jun 13 2017
%K more,nonn
%O 1,3
%A _Jason Earls_, Dec 03 2009
%E a(13)-a(14) from _Michael S. Branicky_, Jun 21 2023
%E Offset changed by _Andrew Howroyd_, Sep 18 2024
%E a(15)-a(17) from _Michael S. Branicky_, Sep 20 2024