login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A156895
Primes of the form 1 + Product_{j=0..k} (2^j + 1).
0
3, 7, 31, 271, 4591, 151471, 9845551, 326409519151, 16455349947998422816223361143099916435126171767057238357700938736968751
OFFSET
1,1
COMMENTS
10th term has 150 digits. - Emeric Deutsch, Mar 07 2009
Primes of the form 1 + A028361(k), any k > 0. - R. J. Mathar, Jul 10 2011
EXAMPLE
(2^0 + 1)*(2^1 + 1)*(2^2 + 1)*(2^3 + 1)*(2^4 + 1) + 1 = 2*3*5*9*17 + 1 = 4591.
MAPLE
a := proc (n) if isprime(1+product(2^k+1, k = 0 .. n)) = true then 1+product(2^k+1, k = 0 .. n) else end if end proc: seq(a(n), n = 0 .. 40); # Emeric Deutsch, Mar 07 2009
MATHEMATICA
Select[Table[Product[2^j+1, {j, 0, k}], {k, 0, 30}]+1, PrimeQ] (* Harvey P. Dale, Aug 01 2019 *)
CROSSREFS
Cf. A028361.
Sequence in context: A105767 A063896 A277028 * A074047 A121810 A081475
KEYWORD
nonn
AUTHOR
J. M. Bergot, Feb 17 2009
EXTENSIONS
a(9) from Emeric Deutsch, Mar 07 2009
STATUS
approved