Post Reply 
Closure in RPL
11-22-2022, 10:41 AM
Post: #11
RE: Closure in RPL
My mistake. It take 125 primes to reach 12 digits accuracy.

XCas> M(n) := Mp(makelist(ithprime,n+1,1,-1));
XCas> Mp(p) := min(abs(proot(p-p[1:]))); // n-degree prime-gap polynomial min abs root

XCas> M(20)        → 0.809455733629
XCas> M(30)        → 0.807108146818
XCas> M(40)        → 0.806549211933
XCas> M(50)        → 0.806513445127
XCas> M(123)      → 0.806513599262
XCas> M(124)      → 0.806513599261
XCas> M(125)      → 0.806513599261
XCas> M(126)      → 0.806513599261
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Closure in RPL - Thomas Klemm - 11-19-2022, 10:29 AM
RE: Closure in RPL - DavidM - 11-19-2022, 01:42 PM
RE: Closure in RPL - Thomas Klemm - 11-19-2022, 04:31 PM
RE: Closure in RPL - John Keith - 11-19-2022, 08:53 PM
RE: Closure in RPL - John Keith - 11-19-2022, 09:50 PM
RE: Closure in RPL - Thomas Klemm - 11-20-2022, 02:29 AM
RE: Closure in RPL - Albert Chan - 11-20-2022, 09:11 PM
RE: Closure in RPL - John Keith - 11-20-2022, 06:48 PM
RE: Closure in RPL - Thomas Klemm - 11-20-2022, 08:18 PM
RE: Closure in RPL - Thomas Klemm - 11-20-2022, 10:51 PM
RE: Closure in RPL - Albert Chan - 11-22-2022 10:41 AM



User(s) browsing this thread: 1 Guest(s)