login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A156895 Primes of the form 1 + Product_{j=0..k} (2^j + 1). 0
3, 7, 31, 271, 4591, 151471, 9845551, 326409519151, 16455349947998422816223361143099916435126171767057238357700938736968751 (list; graph; refs; listen; history; text; internal format)
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

LINKS

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

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

Adjacent sequences:  A156892 A156893 A156894 * A156896 A156897 A156898

KEYWORD

nonn

AUTHOR

J. M. Bergot, Feb 17 2009

EXTENSIONS

a(9) from Emeric Deutsch, Mar 07 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 17 02:26 EDT 2021. Contains 343059 sequences. (Running on oeis4.)