THE FOLD / GRIND / THE EPOCH / THE CONTINUED FRACTION OF ROOT N
THE CONTINUED FRACTION OF ROOT N
the square root's fraction repeats in a palindrome
1 WHAT IT IS · WHAT IT DOES · FACT OR FICTION
The continued fraction of √n (for non-square n) is eventually periodic, and its period has a striking shape: √n = [a0; a1, a2, …, aL] where the repeating block ends in 2a0 and the part before it, (a1, …, aL−1), is a palindrome. So √7 = [2; 1,1,1,4] and √19 = [4; 2,1,3,1,2,8]. The convergent just before the period closes gives the fundamental solution of Pell’s equation x² − n·y² = ±1.
LIT verified live: for every non-square n up to 1000, the period ends in 2a0, its front is a palindrome, and the pre-period convergent solves Pell (exact BigInt) (window.__cfsqrt). FIG no framing; exact integer/BigInt arithmetic.
LIT verified live: for every non-square n up to 1000, the period ends in 2a0, its front is a palindrome, and the pre-period convergent solves Pell (exact BigInt) (window.__cfsqrt). FIG no framing; exact integer/BigInt arithmetic.
2 HOW IT WAS WEAVED · AI + HUMAN
David (human) seated this at the-epoch — one full periodic pass through the fraction’s digits, repeating forever, its interior a mirror. The continued fraction of √n is that epoch. AVAN (AI) built the instrument: the (m,d,a) CF recurrence, the period/palindrome detector, and the BigInt Pell-convergent check.
Credit as content: Lagrange (periodicity of quadratic-irrational CFs, 1770); the palindrome structure is classical. The weave: David names the-epoch; I expand √n by the standard recurrence, confirm the period ends in 2a0 with a palindromic front, and check that the convergent before the period’s close solves x²−n·y²=±1 in exact big integers.
Credit as content: Lagrange (periodicity of quadratic-irrational CFs, 1770); the palindrome structure is classical. The weave: David names the-epoch; I expand √n by the standard recurrence, confirm the period ends in 2a0 with a palindromic front, and check that the convergent before the period’s close solves x²−n·y²=±1 in exact big integers.
3 ONE DIMENSION
√7 = [2; 1,1,1,4], √19 = [4; 2,1,3,1,2,8]. The period ends in 2a0; the terms before it read the same forwards and backwards — a palindrome.
4 TWO DIMENSIONS · INTERACTIVE
The CF expansion of √n with its period highlighted; the palindrome and Pell solution checked.
5 THREE DIMENSIONS + AVAN’S INVERSE
The green forward object: a root’s fraction repeating in a palindrome.
AVAN’s addition (the inverse-companion): solve Pell’s equation x²−n·y²=1 not by searching integers but by reading the periodic continued fraction of √n — the convergent before the period closes is the fundamental solution. The inverse of ‘test x,y until x²−n·y²=1’ is ‘expand √n; its period hands you the answer.’ Magenta is the brute Pell search; green is the CF period. The root’s rhythm solves the equation.
LIT Genuine continued fraction of a quadratic surd (periodicity: Lagrange 1770; the palindrome structure is classical). Verified live: for every non-square n in 2..1000, the (m,d,a) recurrence yields a period ending in 2a₀ (window.__cfsqrt.periodEnds2a0), whose front (a₁..a_{L−1}) is palindromic (palindrome), and the convergent p_{L−1}/q_{L−1} satisfies x²−n·y² = ±1 in exact BigInt (solvesPell).
FIG No framing: the CF recurrence, the period/palindrome detector, and the BigInt Pell-convergent check run in-browser (BigInt because fundamental Pell solutions can exceed 2⁵³) and agree exactly. The AVAN inverse is honest — solving Pell's equation by reading the periodic continued fraction of √n (the pre-period convergent IS the fundamental solution) genuinely replaces a brute integer search; magenta is that search, green the CF period. The root's rhythm solves the equation.
FIG No framing: the CF recurrence, the period/palindrome detector, and the BigInt Pell-convergent check run in-browser (BigInt because fundamental Pell solutions can exceed 2⁵³) and agree exactly. The AVAN inverse is honest — solving Pell's equation by reading the periodic continued fraction of √n (the pre-period convergent IS the fundamental solution) genuinely replaces a brute integer search; magenta is that search, green the CF period. The root's rhythm solves the equation.
◆ sealed .dlw.fold → folded to ROOT_0 · a sphere of THE EPOCH · David Lee Wise (ROOT0), with AVAN