(MatlabMATLAB) s = n + 1; k = 2; while (~isprime(s)) s = k*s + 1; k = k + 1; end a = s
(MatlabMATLAB) s = n + 1; k = 2; while (~isprime(s)) s = k*s + 1; k = k + 1; end a = s
editing
approved
Amarnath Murthy and Meenakshi Srikanth (amarnath_murthymenakan_s(AT)yahoo.com), Jun 16 2003
approved
editing
_Amarnath Murthy _ and Meenakshi Srikanth (amarnath_murthy(AT)yahoo.com), Jun 16 2003
Edited and extended by _David Wasserman (wasserma(AT)spawar.navy.mil), _, Sep 09 2003
One more term from _David Wasserman (wasserma(AT)spawar.navy.mil), _, Jan 05 2005
Let the sequence s_n be defined by s_n(1) = n+1, and for k > 1, s_n(k) = k*s_n(k-1)+1. Then a(n) is the first prime in the sequence s_n.
nonn,hard,new
2, 3, 113, 5, 13, 7, 17, 19, 257, 11, 9157, 13, 29, 31, 401, 17, 37, 19, 41, 43, 82440101, 23, 593, 617, 53, 1117601, 71222359652296203545715260298095475932840563720928496792310817334884559392569395657640073370291521
nonn,hard,new
Next One more term, if it exists, is greater than 10^97 from David Wasserman (wasserma(AT)spawar.navy.mil), Jan 05 2005
Let the sequence s_n be defined by s_n(1) = n+1, and for k > 1, s_n(k) = k*s_n(k-1)+1. Then a(n) is the first prime in the sequence s_n.
2, 3, 113, 5, 13, 7, 17, 19, 257, 11, 9157, 13, 29, 31, 401, 17, 37, 19, 41, 43, 82440101, 23, 593, 617, 53, 1117601
1,1
For n = 10r+1, a(n) >= s_n(6).
a(3) = 113: 3+1 = 4 is composite, 2*4+1 = 9 is composite, 3*9+1 = 28 is composite, 4*28+1 = 113 is prime.
(Matlab) s = n + 1; k = 2; while (~isprime(s)) s = k*s + 1; k = k + 1; end a = s
nonn,hard,new
Amarnath Murthy and Meenakshi Srikanth (amarnath_murthy(AT)yahoo.com), Jun 16 2003
Edited and extended by David Wasserman (wasserma(AT)spawar.navy.mil), Sep 09 2003
Next term, if it exists, is greater than 10^97.
approved