Note that n must be a power of 2 (cf. A138083).
Similar to Fermat primes (A019434), and for the same reasons we expect this sequence to be finite as well.
The numbers (3^n + 1)/2 are strongprobableprimes to base 3, so don't test with that base.  Don Reble, Jun 15 2010
Contribution from Paul Bourdelais, Oct 13 2010: (Start)
Terms in sequence factored to 1E18:
(3^(2^21)+1)/2 has factors: 155189249
(3^(2^22)+1)/2 is composite: RES64: [A158D7ED3E1CC427](425462 sec)
(3^(2^23)+1)/2 is composite: RES64: [B0F07A3D55C5082A] (3424080 sec)
(3^(2^26)+1)/2 has factors: 3221225473
(3^(2^28)+1)/2 has factors: 12348030977
(3^(2^29)+1)/2 has factors: 77309411329
(3^(2^31)+1)/2 has factors: 4638564679681
(3^(2^32)+1)/2 has factors: 206158430209
(3^(2^34)+1)/2 has factors: 50474455662593
(3^(2^36)+1)/2 has factors: 911220261519361
(3^(2^38)+1)/2 has factors: 6597069766657
(3^(2^39)+1)/2 has factors: 46179488366593
(3^(2^44)+1)/2 has factors: 15586676835352577
(3^(2^45)+1)/2 has factors: 16044073672507393
(3^(2^49)+1)/2 has factors: 7881299347898369
(3^(2^51)+1)/2 has factors: 891712726219358209
(3^(2^54)+1)/2 has factors: 180143985094819841
For all other n<55 (specifically, n=24, 25, 27, 30, 33, 35, 37, 40, 41, 42, 43, 46, 47, 48, 50, 52, 53), no factor < 10^18 has been found.
(End)
