login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A144722 a(n)= smallest positive integer k such that a(0)*a(1)*a(2)*...*a(n) + 1 is prime. a(0)=3 13
2, 3, 4, 6, 8, 21, 23, 26, 30, 36, 37, 39, 42, 54, 57, 73, 83, 86, 88, 91, 93, 98, 99, 112, 120, 137, 140, 142, 148, 161, 162, 169, 171, 174, 179, 237, 247, 294, 312, 335, 340, 382, 474, 475, 484, 498, 500, 539, 589, 598, 653, 654, 660, 704, 720, 732, 789, 804 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

EXAMPLE

3*1+1=4 is not prime (omitted) a(1)=2 because 3*2+1=7 is prime a(2)=3 because 3*2*3+1=19 is prime

MATHEMATICA

k = 3; a = {}; Do[If[PrimeQ[k n + 1], k = k n; AppendTo[a, n]], {n, 1, 3000}]; a (*Artur Jasinski*)

CROSSREFS

A046966, A046972, A144717, A144718, A144722, A144723, A144724, A144725, A144726, A144727, A144728, A144729, A144730, A144731

Sequence in context: A008324 A274456 A084074 * A105808 A124058 A274423

Adjacent sequences:  A144719 A144720 A144721 * A144723 A144724 A144725

KEYWORD

nonn

AUTHOR

Artur Jasinski, Sep 19 2008

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 May 21 18:58 EDT 2019. Contains 323444 sequences. (Running on oeis4.)