The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A173910 a(n) = smallest number >= a(n-1) such that a(1)*a(2)*...*a(n)+1 is prime; a(1)=2. 1
 2, 2, 3, 3, 3, 4, 5, 7, 10, 14, 15, 18, 30, 32, 46, 56, 58, 59, 84, 86, 99, 101, 103, 106, 122, 126, 128, 128, 136, 152, 157, 170, 190, 208, 281, 282, 284, 320, 393, 406, 459, 479, 526, 529, 530, 540, 559, 601, 639, 640, 709, 789, 828, 900, 917, 949, 1029, 1029 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Amiram Eldar, Table of n, a(n) for n = 1..700 MATHEMATICA a[1] = 2; a[n_] := a[n] = Module[{k = a[n - 1], r = Product[a[i], {i, 1, n - 1}]}, While[! PrimeQ[k*r + 1], k++]; k]; Array[a, 60] (* Amiram Eldar, Jan 19 2023 *) CROSSREFS Cf. A036012, A046966. Sequence in context: A003105 A240856 A081166 * A036846 A227396 A331590 Adjacent sequences: A173907 A173908 A173909 * A173911 A173912 A173913 KEYWORD nonn AUTHOR Dmitry Kamenetsky, Mar 02 2010 EXTENSIONS More terms from Amiram Eldar, Jan 19 2023 STATUS approved

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

Last modified May 31 12:46 EDT 2023. Contains 363066 sequences. (Running on oeis4.)