{"id":189,"date":"2010-12-05T13:06:27","date_gmt":"2010-12-05T17:06:27","guid":{"rendered":"http:\/\/bitc.bme.emory.edu\/~lzhou\/blogs\/?p=189"},"modified":"2010-12-05T23:26:48","modified_gmt":"2010-12-06T03:26:48","slug":"recursive-prime-brother-by-brillhart-lehmer-selfridge-algorithm","status":"publish","type":"post","link":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/?p=189","title":{"rendered":"Recursive prime brother by Brillhart &#8211; Lehmer &#8211; Selfridge algorithm"},"content":{"rendered":"<p>Define:<\/p>\n<p>p[k,i]=ABS[1+2*n[k,i]*p[k-1,1]*p[k-1,2]],n[k,1] is the integer with minimum ABS[n[k,1]] that makes p[k,1] a prime number, and n[k,2] is the integer with second minimum ABS[n[k,2]] that makes p[k,2] a prime number<\/p>\n<p>The primality of p[k,i] can be proven using Brillhart &#8211; Lehmer &#8211; Selfridge algorithm recursively by using p[k-1,1] and p[k-1,2] as helper since n is a small integer, by reducing k to 1.<\/p>\n<p>With this idea, taking<\/p>\n<p>p[0,1]=1, p[0,2]=1<br \/>\nWe got the n[i,j] ( columns : i; rows: k):<\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<td><b>k<\/b><\/td>\n<td><b>i=1<\/b><\/td>\n<td><b>i=2<\/b><\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>1<\/td>\n<td>-2<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>-1<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>1<\/td>\n<td>-2<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>-3<\/td>\n<td>-5<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>-11<\/td>\n<td>19<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>51<\/td>\n<td>94<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>7<\/td>\n<td>33<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>147<\/td>\n<td>-165<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>15<\/td>\n<td>-29<\/td>\n<\/tr>\n<tr>\n<td>10<\/td>\n<td>5<\/td>\n<td>339<\/td>\n<\/tr>\n<tr>\n<td>11<\/td>\n<td>412<\/td>\n<td>-1260<\/td>\n<\/tr>\n<tr>\n<td>12<\/td>\n<td>356<\/td>\n<td>848<\/td>\n<\/tr>\n<tr>\n<td>13<\/td>\n<td>4809<\/td>\n<td>-5641<\/td>\n<\/tr>\n<tr>\n<td>14<\/td>\n<td>-5215<\/td>\n<td>-5539<\/td>\n<\/tr>\n<tr>\n<td>15<\/td>\n<td>37695<\/td>\n<td>41772<\/td>\n<\/tr>\n<tr>\n<td>16<\/td>\n<td>5343<\/td>\n<td>-6180<\/td>\n<\/tr>\n<tr>\n<td>17<\/td>\n<td>-31463<\/td>\n<td>-36980<\/td>\n<\/tr>\n<tr>\n<td>18<\/td>\n<td>181802<\/td>\n<td>-292989<\/td>\n<\/tr>\n<tr>\n<td>19<\/td>\n<td>70660<\/td>\n<td>&#8211;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The last three, p[19,1] makes top 5000 list.<br \/>\nThe proof will be posted in the reply of this one.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Define: p[k,i]=ABS[1+2*n[k,i]*p[k-1,1]*p[k-1,2]],n[k,1] is the integer with minimum ABS[n[k,1]] that makes p[k,1] a prime number, and n[k,2] is the integer with second minimum ABS[n[k,2]] that makes p[k,2] a prime number The primality of p[k,i] can be proven using Brillhart &#8211; Lehmer &#8211; Selfridge algorithm recursively by using p[k-1,1] and p[k-1,2] as helper since n is a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[],"class_list":["post-189","post","type-post","status-publish","format-standard","hentry","category-to-entertain-myself","category-looking-for-a-megaprime","post-blog"],"_links":{"self":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=189"}],"version-history":[{"count":0,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/189\/revisions"}],"wp:attachment":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}