Now is the time of year when we ask all users of the OEIS for their annual support.
Click here to donate
to the OEIS Foundation using PayPal or in other ways.
%N n such that 3^(2n-3)+3^(n-1)+1 is prime.
%C n such that A198410(n) is prime.
%t Select[Range, PrimeQ[((3^(#-1) + 1)^3 -1)/3^#]&]
%Y Cf. A198410, A199192.
%A _Michel Lagneau_, Nov 03 2011