1,2

For the corresponding primes p see A088553.

For n > 1, numbers n such that (3^n + (-1)^n)/2 is prime. - Thomas Ordowski, Dec 26 2016

Table of n, a(n) for n=1..24.

Select[Range[4200], Or@@PrimeQ[(3^#+{1, -1})/2]&] (* Harvey P. Dale, Mar 05 2013 *)

Sequence in context: A200088 A004783 A031149 * A266498 A137495 A099779

Adjacent sequences: A096720 A096721 A096722 * A096724 A096725 A096726

nonn

Lekraj Beedassy, Jul 05 2004

More terms from Ray Chandler, Jul 09 2004

approved