--- research/01-zone-twin-share.js 2026-09-11 14:57:03 +++ 01-zone-twin-share-x.js 2026-09-11 14:58:04 @@ -22,7 +22,7 @@ for (let i = 2; i <= n; i++) { if (!s[i]) { out.push(i); for (let j = i * i; j <= n; j += i) s[j] = 1; } } return out; } -const primes = primesUpTo(20000); +const primes = primesUpTo(20100); // scratch copy, job #46: 20011 and its successor 20021 must be in the list function levelStats(pn) { const idx = primes.indexOf(pn); @@ -41,7 +41,8 @@ return { pn, pNext, window, cand, expect: +expect.toFixed(1), ratio: +(cand / expect).toFixed(3) }; } -const levels = [5, 7, 11, 13, 17, 19, 23, 31, 43, 61, 89, 127, 179, 251, 353, 499, 701, 997, 1409, 1999, 2999, 4001, 5003, 7001, 9973]; +const levels = [5, 7, 11, 13, 17, 19, 23, 31, 43, 61, 89, 127, 179, 251, 353, 499, 701, 997, 1409, 1999, 2999, 4001, 5003, 7001, 9973, + 12007, 14009, 16001, 18013, 20011]; // scratch copy, job #46: five levels added (all prime) console.log('level p_n | window p_{n+1}^2 | twin candidates in window (= REAL twin primes) | uniform expectation | ratio'); for (const p of levels) console.log(JSON.stringify(levelStats(p)));