%I #11 Aug 01 2019 18:34:20
%S 0,1,2,5,6,7,11,14,15,17,27,30,41,150,186,359,665,690,1029,1150,1575,
%T 1879,2010,2439,3197,3625,4107,4635,6417,7791,16354,20610,25889,26310,
%U 38689,45826,63410,82726,123109,164574
%N Numbers n such that 7*3^n - 2 is prime.
%C a(41) > 2*10^5. - _Robert Price_, May 14 2015
%t Do[ If[ PrimeQ[ 7*3^n - 2 ], Print[ n ] ], {n, 0, 2500} ]
%o (PARI) is(n)=ispseudoprime(7*3^n-2) \\ _Charles R Greathouse IV_, Jun 13 2017
%K nonn
%O 1,3
%A _Robert G. Wilson v_, Dec 26 2000
%E a(30)-a(40) from _Robert Price_, May 14 2015
%E First term 0 inserted by _Georg Fischer_, Aug 01 2019