Research notes · Mathematics & astronomy · 4,723 words
Published with only verified findings: anything that rested on Wikipedia, search summaries or popular websites, and the summary and inference sections, are left out here. The full working record is kept privately.
Aryabhata, the Indian mathematical lineage, and Ramanujan: what they can and cannot do for a high-precision astrology engine
Scope note: these are implementation notes for engineers and for whoever writes the "heritage" copy on the site. Every number marked [computed] was calculated in this research session with Python 3.14 plus mpmath at 30 to 120 significant digits, so anyone can re-run it. Primary texts were read from the Internet Archive OCR files:
- Clark 1930 Aryabhatiya: archive.org/download/The_Aryabhatiya_of_Aryabhata_Clark_1930/The_Aryabhatiya_of_Aryabhata_Clark_1930_djvu.txt
- Ramanujan Collected Papers 1927: archive.org/download/pli.kerala.rare.28155/pli.kerala.rare.28155_djvu.txt
Quotes are kept under 15 words. Everything else is paraphrase.
Q1. Aryabhata (Aryabhatiya, 499 CE): sine table, π, numerals, kuttaka, ahargana. Can integer arithmetic make calendar work exact today?
Cited Findings
Edition and dating
- Clark's translation was published by the University of Chicago Press. Clark was Professor of Sanskrit at Harvard — Clark 1930, title page (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
- US works published in 1930 entered the US public domain on 1 January 2026 — Duke CSPD, Public Domain Day 2026 (Duke Law CSPD); Columbia Libraries blog (blogs.library.columbia.edu).
- Aryabhata dates himself in Kalakriya 10: 3 yugapadas plus 3,600 years had elapsed when he was 23. Clark computes 499 CE, assuming a Kaliyuga start in 3102 BCE. Paramesvara (as reported by Clark) took this as the date at which the treatise's planetary calculations would be correct — Clark pp. 54-55 (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
Alphabetic numerals (Dasagitika, paribhasa stanza)
- Numbers are encoded syllable by syllable. Clark's worked example is the Moon's revolutions per yuga, written chayagiyinusuchhlri. It decodes to 6 + 30 + 300 + 3,000 + 50,000 + 700,000 + 7,000,000 + 50,000,000 = 57,753,336.
- Here the digits run right to left, but the order may change to fit the metre.
- Clark (p. 8) finds it hard to believe the notation was not based on a place-value system — Clark pp. 8-9 (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
Yuga constants (Dasagitika 1-2)
- Revolutions per yuga:
| Body | Revolutions per yuga |
|---|---|
| Sun | 4,320,000 |
| Moon | 57,753,336 |
| Earth eastward (sidereal days) | 1,582,237,500 |
| Saturn | 146,564 |
| Jupiter | 364,224 |
| Mars | 2,296,824 |
| Moon's apsis | 488,219 |
| Mercury's shighra | 17,937,020 |
| Venus's shighra | 7,022,388 |
| Moon's node (westward) | 232,226 |
- The count starts from the beginning of Mesha, at sunrise on a Wednesday, at Lanka — Clark p. 9 (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
- Clark notes that the "revolutions of the Earth" are its axial rotations and equal the sidereal days of a yuga. He rejects Paramesvara's attempt to explain the Earth's rotation away — Clark pp. 9-10 (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
Sine table (Dasagitika 10)
- The 24 sine differences, in minutes of arc, are: 225, 224, 222, 219, 215, 210, 205, 199, 191, 183, 174, 164, 154, 143, 131, 119, 106, 93, 79, 65, 51, 37, 22, 7.
- They are taken at 225′ (3°45′) intervals on a radius of 3,438′. Clark stresses the listed numbers are differences between sines, not the sines themselves — Clark p. 19 (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
Generating rule for the table (Ganitapada 12)
- Clark's reading: each following sine-difference falls short of the first sine (225) by two things added together: how far the previous difference fell short, and the sum of the preceding sines divided by 225.
- Clark's worked start is 225 → 224 → 222.
- Clark admits that strict use of the rule gives slight divergences. Krishnaswami Ayyangar reconciles them by assuming neglected fractions were redistributed, which the rule does not say — Clark pp. 29-30 (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
- Clark says the exact method used to build the table is not known (Ganitapada 11 note) — Clark p. 28 (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
π (Ganitapada 10)
- The rule: add 4 to 100, multiply by 8, add 62,000. The result is the circumference for a diameter of 20,000, so π ≈ 62,832/20,000 = 3.1416.
- Clark records Bhaskara II (Goladhyaya, Bhuvanakosha 52) referring to this rule — Clark p. 28 (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
- Note: 62832/20000 reduces to 3927/1250. Its error against true π is +7.35 × 10⁻⁶, about 2.3 ppm [computed].
Square and cube roots (Ganitapada 4-5)
- These are digit-by-digit (place-value) algorithms. Odd places are varga and even places avarga. Commentators explain that the root is exact when the last subtraction leaves no remainder — Clark pp. 22-24 (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
Series (Ganitapada 19-22)
Ganitapada 20 gives the number of terms n of an arithmetic progression from its sum S, first term a and common difference d:
n = ½ [ (√(8dS + (2a − d)²) − 2a) / d + 1 ]
Rodet reads this as evidence that quadratics were understood.
Ganitapada 21 gives the sum of triangular numbers, n(n+1)(n+2)/6, which is the "pile of balls".
Ganitapada 22 gives Σk² = n(n+1)(2n+1)/6 and Σk³ = (Σk)² — Clark pp. 36-37 (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
Kuttaka (Ganitapada 32-33)
- Following Paramesvara and Brahmagupta, Clark reads it as follows:
- Divide the divisor with the larger remainder by the one with the smaller remainder.
- Reciprocally divide (the Euclidean chain of quotients).
- Multiply the last remainder by an assumed number and add it to the difference of the remainders.
- Fold back up the chain: multiply the penultimate number by the number above it and add the number below it.
- Reduce the result, then combine the two conditions.
- Clark (p. 43) is uncertain whether the rule's enigmatic wording supplies "remainder" or "quotient". He disagrees with Kaye's translation — Clark pp. 42-49 (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
- Clark's preface notes the close kinship between Aryabhatiya II.32-33 and Brahmagupta XVIII.3-5. It is unresolved which is earlier — Clark p. xiv (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
- Paramesvara's worked example (from Clark): find x with 8x = 29y + 4 and 17x = 45z + 7.
- First process: x ≡ 15 (mod 29).
- Second process: x ≡ 11 (mod 45).
- Combined: 34 × 29 = 986, and 986 + 15 = 1001, the smallest x satisfying both — Clark pp. 44-47 (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
- Reproduced by extended Euclid plus CRT: x₁ = 15, x₂ = 11, x = 1001 (mod 1305) [computed].
- Ganguly's alternative reading, a pure Chinese-remainder problem: Clark's example asks which number leaves remainders 2 and 1 when divided by 3 and 7. The answer is 8 — Clark pp. 48-49 (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
- Bhaskara I called the method kuttakara. It reduces coefficients step by step and is essentially the Euclidean algorithm — MacTutor, Bhaskara I (MacTutor, St Andrews) (MacTutor discusses "the Euclidean algorithm method", though not the term kuttaka).
- A modern computer-science paper treats the "Aryabhata algorithm" (kuttaka) with least absolute remainders — Rao & Yang, arXiv cs/0604012.
Kaliyuga epoch
- A 1911 JRAS article gives the Kaliyuga era as starting at mean sunrise (6 a.m. Lanka/Ujjain) on Friday 18 February 3102 BCE. In Julian Period days counted from sunrise, that day is 588,467 current, or 588,466 elapsed — JRAS 1911 via Cambridge Core.
- JD for 0h UT Greenwich on 18 February −3101 (Julian, astronomical year numbering) is 588465.5 [computed]. Ujjain midnight is about 5 h 03 m earlier, about JD 588465.29.
Exact rational test vectors [computed] (civil days per yuga = 1,582,237,500 − 4,320,000 = 1,577,917,500)
| Quantity (Aryabhata) | Exact rational | Decimal | Modern value |
|---|---|---|---|
| Sidereal year (days) | 1577917500/4320000 = 210389/576 | 365.2586806 | 365.256363 (sidereal) |
| Sun rate (rev/day) | 576/210389 | 0.98560286°/day | — |
| Moon rate (rev/day) | 78898/2155625 | 13.17635489°/day | ≈13.176358 |
| Synodic month (days) | 1577917500/53433336 | 29.53058181 | 29.530588853 |
| Sidereal month (days) | 1577917500/57753336 | 27.32166848 | 27.321661 |
| Mars (rev/day) | 191402/131493125 | 0.52401766°/day | |
| Jupiter (rev/day) | 30352/131493125 | 0.08309727°/day | |
| Saturn (rev/day) | 36641/394479375 | 0.03343840°/day | |
| Moon's apogee (rev/day) | 488219/1577917500 | 0.11138658°/day | |
| Moon's node (rev/day, retro) | 116113/788958750 | 0.05298209°/day |
More test vectors [computed]
- Conjunction at the Kali epoch. 3/4 of each yuga revolution count is an integer for Sun, Moon, Mars, Jupiter, Saturn and the shighras. So all of them are at 0° at the Kaliyuga start. The Moon's apogee comes out at 90° (fraction 0.25) and the node at 180° (fraction 0.5).
- Ahargana test.
- Inputs: Kali sunrise epoch = 588,466 elapsed. Civil date 2000-01-01 → JD at noon 2,451,545.
- Ahargana A = 2,451,545 − 588,466 = 1,863,079.
- Weekday check: A mod 7 = 1. Day 0 is Friday, so day 1 is Saturday, and 1 January 2000 was a Saturday ✓.
- Mean longitudes at A = 1,863,079, using exact fraction arithmetic
(A·rev mod civ)·360/civ:
| Body | Mean longitude | Exact value |
|---|---|---|
| Sun | 255.98980935° | 53857440/210389 ° |
| Moon | 190.08367411° | 81949824/431125 ° |
| Mars | 326.30267° | |
| Jupiter | 16.78279° | |
| Saturn | 18.38493° | |
| Moon apogee | 162.00534° | |
| Moon node | 290.18901° |
- Inverse problem (the classical use of kuttaka).
- The Sun's residue numerator is r = (A × 576) mod 210389 = 149604.
- Solving 576·A ≡ 149604 (mod 210389) with a modular inverse (extended Euclid) gives A ≡ 179967 (mod 210389).
- That matches 1,863,079 mod 210,389 = 179,967 ✓. This is exactly the "find the days from a planet's remainder" problem.
Aryabhata's sine table vs true sines [computed]
- Columns: J = Aryabhata's cumulative sine; 3438·sin = the true value on his nominal radius; R·sin uses the exact radius R = 21600/2π = 3437.7468; "err vs 3438" = J − 3438·sin.
| i | arc (′) | diff | J (Arya) | 3438·sin | R·sin | err vs 3438 | err vs R |
|---|---|---|---|---|---|---|---|
| 1 | 225 | 225 | 225 | 224.856 | 224.839 | +0.144 | +0.161 |
| 2 | 450 | 224 | 449 | 448.749 | 448.716 | +0.251 | +0.284 |
| 3 | 675 | 222 | 671 | 670.721 | 670.671 | +0.280 | +0.329 |
| 4 | 900 | 219 | 890 | 889.820 | 889.754 | +0.180 | +0.246 |
| 5 | 1125 | 215 | 1105 | 1105.109 | 1105.028 | −0.109 | −0.027 |
| 6 | 1350 | 210 | 1315 | 1315.666 | 1315.569 | −0.666 | −0.569 |
| 7 | 1575 | 205 | 1520 | 1520.589 | 1520.477 | −0.589 | −0.477 |
| 8 | 1800 | 199 | 1719 | 1719.000 | 1718.873 | 0.000 | +0.127 |
| 9 | 2025 | 191 | 1910 | 1910.050 | 1909.910 | −0.050 | +0.090 |
| 10 | 2250 | 183 | 2093 | 2092.922 | 2092.768 | +0.078 | +0.232 |
| 11 | 2475 | 174 | 2267 | 2266.831 | 2266.664 | +0.169 | +0.336 |
| 12 | 2700 | 164 | 2431 | 2431.033 | 2430.854 | −0.033 | +0.146 |
| 13 | 2925 | 154 | 2585 | 2584.825 | 2584.635 | +0.175 | +0.365 |
| 14 | 3150 | 143 | 2728 | 2727.549 | 2727.348 | +0.451 | +0.652 |
| 15 | 3375 | 131 | 2859 | 2858.593 | 2858.382 | +0.408 | +0.618 |
| 16 | 3600 | 119 | 2978 | 2977.395 | 2977.176 | +0.605 | +0.824 |
| 17 | 3825 | 106 | 3084 | 3083.449 | 3083.221 | +0.552 | +0.779 |
| 18 | 4050 | 93 | 3177 | 3176.298 | 3176.064 | +0.702 | +0.936 |
| 19 | 4275 | 79 | 3256 | 3255.546 | 3255.306 | +0.454 | +0.694 |
| 20 | 4500 | 65 | 3321 | 3320.853 | 3320.608 | +0.147 | +0.392 |
| 21 | 4725 | 51 | 3372 | 3371.940 | 3371.691 | +0.060 | +0.309 |
| 22 | 4950 | 37 | 3409 | 3408.587 | 3408.336 | +0.413 | +0.664 |
| 23 | 5175 | 22 | 3431 | 3430.639 | 3430.386 | +0.361 | +0.614 |
| 24 | 5400 | 7 | 3438 | 3438.000 | 3437.747 | 0.000 | +0.253 |
- The 24 differences sum to exactly 3438. The maximum |error| against 3438·sin is 0.70 units (at 67.5°), which is 2.0 × 10⁻⁴ of the radius.
- I also applied the Ganitapada 12 recurrence D₍ₙ₊₁₎ = Dₙ − Jₙ/225 with each quotient rounded to an integer. It reproduces the first 6 differences (225, 224, 222, 219, 215, 210), then falls increasingly short: 204 vs 205, …, 0 vs 7.
- With exact fractions instead, the last difference comes out as 0.86 instead of 7. This confirms Clark's "several slight divergences" remark. The published table is closer to accurately computed sines than to the literal rule.
Gaps
- I did not verify which edition or commentary first states the "a = revolutions, b = civil days" astronomical kuttaka set-up with worked numbers. Shukla's Mahabhaskariya (1960) and Bhaskara I's Aryabhatiyabhashya (629 CE) are the primary places; they were not read here.
- Clark does not give the verse on linear interpolation inside sine tables explicitly. The Aryabhatiya has no stated interpolation formula in Clark's index; second-order interpolation comes later, with Brahmagupta (Q2).
- The exact sunrise and longitude convention of Aryabhata's audayika epoch (Lanka meridian ≈ Ujjain 75°46′E) affects test vectors by up to about 0.25 day. Test vectors above therefore use integer ahargana inputs, so they are convention-free.
- Clark's death year (and therefore non-US public-domain status of his translation) was not verified in this session.
Q2. The lineage after Aryabhata: Bhaskara I, Brahmagupta, Madhava (Kerala school), Bhaskara II. Exact formulas, accuracy, and modern relevance
Cited Findings
Bhaskara I (c. 600 – c. 680 CE), Mahabhaskariya VII.17-19
- The formula:
- degrees: sin x° ≈ 4x(180 − x) / (40500 − x(180 − x));
- radians: sin x ≈ 16x(π − x) / (5π² − 4x(π − x)).
- MacTutor calls it "amazingly accurate", with a maximum error of less than one percent. Its comparison table shows errors up to about 0.00157 — MacTutor, Bhaskara I (MacTutor, St Andrews).
- The discrepancy between "<1%" and "<1.8%" comes from what is being measured:
- Absolute error relative to R = 1 is under 0.17%.
- Relative error as x → 0 tends to 57.296/56.25 − 1 ≈ 1.86% [computed].
- Test vectors [computed]:
| x | Bhaskara I value | Exact sin | Error |
|---|---|---|---|
| 0°, 30°, 90° | exact (0, 0.5, 1) | — | 0 (exact by construction) |
| 15° | 0.2603550 | 0.2588190 | +0.0015360 |
| 45° | 12/17 = 0.7058824 | 0.7071068 | −0.0012244 |
| 60° | 32/37 = 0.8648649 | 0.8660254 | −0.0011605 |
| 75° | 0.9655172 | 0.9659258 | −0.0004086 |
- Maximum |error| = 0.0016318 at x ≈ 11.54° [computed].
Brahmagupta (c. 598 – 668), second-order interpolation
- With t = (a − x_r)/h: f(a) ≈ f_r + t(D_r + D_{r−1})/2 + t²(D_r − D_{r−1})/2. This is Stirling's formula truncated at second differences.
- It appears in the Khandakhadyaka supplement (665 CE) and the earlier Dhyanagrahopadesha. It was used for sine tables at 900′ (15°) intervals.
- Test vectors, using an exact sine table at 15° nodes scaled to R = 150 [computed]:
| x | True | Brahmagupta | Linear |
|---|---|---|---|
| 20° | 51.30302 | 51.17587 | 50.88190 |
| 37.5° | 91.31421 | 91.17190 | 90.53301 |
| 50° | 114.90667 | 114.81508 | 114.01195 |
- Maximum error over 15°–75°: 0.110% of R for Brahmagupta vs 0.790% of R for linear interpolation, a roughly 7× improvement.
Madhava of Sangamagrama (c. 1340/1350 – c. 1425) and the Kerala school
- The sine, cosine and arctangent series are attributed to Madhava or his followers. They appear in Shankara Variyar's Yukti-dipika (sine/cosine at 2.440–2.443, arctan at 2.206–2.209) and in Jyeshthadeva's Yuktibhasha.
- Nilakantha and Jyeshthadeva attribute them to Madhava "unambiguously", but no surviving work by Madhava states them.
- Madhava–Leibniz π/4 series with Madhava's end-corrections, where p = 2n is the even number following the last odd denominator [computed]:
| n terms | No correction | F₁ = 1/(2p) | F₂ = (p/2)/(p² + 1) | F₃ = (p² + 4)/(2(p³ + 5p)) |
|---|---|---|---|---|
| 10 | −0.0998 | +2.5e−4 | −2.4e−6 | +5.2e−8 |
| 50 | −0.0200 | +2.0e−6 | −8.0e−10 | +7.2e−13 |
- The fast series π = √12 · Σ (−1/3)ᵏ/(2k + 1): with 21 terms the error is +5.8 × 10⁻¹². That is consistent with Madhava's 11-decimal π [computed].
Bhaskara II (1114 – 1185), Siddhanta-shiromani (c. 1150)
- In the Grahaganita, Bhaskara distinguishes a planet's rough daily motion (longitude difference over a day) from its tatkalika gati. The latter is the motion it would have in a day if its speed at that instant stayed uniform.
- The method relies on δ(sin) ≈ cos·δθ, the "derivative of sine".
- He notes that the speed is zero at a stationary point. In the Vasanabhashya he stresses this is necessary for the Moon because its anomaly moves fast.
- Whether to call this "calculus" is debated; treat the "differential" framing as interpretation (same sources).
- MacTutor gives Bhaskara II's dates (1114–1185) and his work on kuttaka and Pell-type equations, but does not discuss tatkalika gati — MacTutor, Bhaskara II (MacTutor, St Andrews).
Gaps
- I did not retrieve the original Sanskrit or a PD translation of the Yuktibhasha (the Sarma et al. 2008 Springer translation is in copyright) or the Siddhanta-shiromani. Wilkinson and Bapu Deva Shastri's 1861 Goladhyaya translation is likely PD on archive.org but was not checked.
- Brahmagupta's formula for unequal intervals is mentioned but not given in the source read.
Q3. Ramanujan: π series, ellipse perimeter, modular equations and continued fractions. Is any of it actually useful for an ephemeris engine?
Cited Findings
Publication and copyright status
- "Modular equations and approximations to π", Quarterly Journal of Mathematics XLV (1914), pp. 350–372, is reprinted as paper 6 in the 1927 Collected Papers (Hardy, Seshu Aiyar & Wilson eds., Cambridge University Press) — Collected Papers 1927, archive.org.
- Being a pre-1931 US publication, the 1927 edition is public domain in the US (inferred from the 1930 PD rule above — Duke CSPD (Duke Law CSPD)).
- Other copies exist on archive.org:
collectedpaperso0000rama(1927) and the 1962 Chelsea reprintcollectedpapers0000rama. The 1962 reprint may carry new front matter. - Hardy's Ramanujan: Twelve Lectures (1940) is on archive.org as
in.ernet.dli.2015.212059andramanujan-hardy— archive.org search API results. Its US status is not PD by age (1940 + 95 = 2035). See Gaps.
1/π series
- Ramanujan calls his series (44) "extremely rapidly convergent". He notes that the first term alone already gives a good approximation involving 1103 — Collected Papers p. 38, OCR (Internet Archive item pli.kerala.rare.28155).
- Standard form: 1/π = (2√2/9801) Σₖ (4k)!(1103 + 26390k) / ((k!)⁴ 396⁴ᵏ).
- Convergence [computed]:
| Terms (k = 0..K) | Correct digits of π |
|---|---|
| 1 (k = 0) | 7.1 (π ≈ 3.14159273001…) |
| 2 | 15.2 |
| 3 | 23.2 |
| 4 | 31.3 |
| 5 | 39.3 |
| 6 | 47.3 |
- That is about 8 digits per term.
Chudnovsky (1988)
- 1/π = (√10005/4270934400) Σ (−1)ᵏ (6k)!(545140134k + 13591409) / ((3k)!(k!)³ 640320³ᵏ).
- It is based on Ramanujan's π formulae, an example of a Ramanujan–Sato series. It gives about 14 digits per term (log₁₀(640320³/1728) ≈ 14.18).
- [computed]: 13.2, 27.5, 41.8, 56.0 digits after 1, 2, 3, 4 terms.
Ellipse perimeter (§16 of the 1914 paper)
- Ramanujan says both approximations "were obtained empirically" — Collected Papers p. 39, OCR (Internet Archive item pli.kerala.rare.28155). The equations below are reconstructed from OCR; the error terms were confirmed numerically.
- (49) p = π[3(a + b) − √((a + 3b)(3a + b)) + ε], with ε ≈ a·e¹²/1048576 (2²⁰).
- (50) p = π[(a + b) + 3(a − b)²/(10(a + b) + √(a² + 14ab + b²)) + ε], with ε ≈ 3a·e²⁰/68719476736 (2³⁶).
- Here e is the eccentricity and ε is a positive correction inside the bracket, so both formulas underestimate the perimeter.
- [computed] check of the small-e error, with a = 1 and π·ε as predicted:
| e | Error of (49) | π·a·e¹²/2²⁰ | Error of (50) | π·3a·e²⁰/2³⁶ |
|---|---|---|---|---|
| 0.0167 (Earth) | −1.42e−27 | 1.42e−27 | −3.95e−46 | 3.94e−46 |
| 0.0934 (Mars) | −1.35e−18 | 1.32e−18 | −3.65e−31 | 3.50e−31 |
| 0.2056 (Mercury) | −1.92e−14 | 1.71e−14 | −3.06e−24 | 2.50e−24 |
| 0.9 | −3.58e−5 | — (formula is asymptotic) | −1.18e−8 | — |
- Relative error of (50) for comet-like orbits: −2.2 × 10⁻⁷ at e = 0.967 (Halley); −6.3 × 10⁻⁵ at e = 0.999.
- Test vector [computed], a = 10, b = 6:
- exact (4a·E(k²), complete elliptic integral of the 2nd kind) = 51.053997726796257;
- (49) = 51.053972787517;
- (50) = 51.053997725578.
Continued fractions of calendar ratios [computed]
- Inputs: tropical year 365.242190 d; synodic month 29.530588853 d; sidereal year 365.256363 d.
| Ratio | Value | CF terms | Convergents (best rational approximations) |
|---|---|---|---|
| Tropical year / synodic month | 12.36826640 | [12; 2, 1, 2, 1, 1, 17, 3, 632, …] | 12/1, 25/2, 37/3, 99/8 (octaeteris), 136/11, 235/19 (Metonic), 4131/334, 12628/1021 |
| Sidereal year / synodic month | 12.36874635 | [12; 2, 1, 2, 2, 8, 10, …] | 12/1, 25/2, 37/3, 99/8, 235/19, 1979/160, 20025/1619 |
| Tropical year | 365.24219 d | [365; 4, 7, 1, 3, 24, 6, …] | 365/1, 1461/4 (Julian), 10592/29, 12053/33, 46751/128 |
| Synodic month | 29.530588853 d | [29; 1, 1, 7, 1, 2, 17, …] | 29, 30, 59/2 (alternating 29/30-day months), 443/15, 502/17, 1447/49 |
- Metonic residual: 235 synodic months − 19 tropical years = +0.08677 day ≈ 2 h 05 m per cycle.
- Indian luni-solar rule (inference): adhika-masa intercalation averages 7 extra months per 19 years. That is the 235/19 convergent (19 × 12 + 7 = 235).
Gaps
- The OCR of §16 is garbled. The error-term exponents (e¹², e²⁰) and denominators (2²⁰, 2³⁶) were confirmed numerically rather than read cleanly. A page-image check of p. 39 is advisable before quoting them on the site.
- Not reviewed: Ramanujan's notebooks (Tata 1957 facsimile) and Hardy's Twelve Lectures.
- Copyright of the 1957 facsimile: Ramanujan died in 1920, so his own text is PD. Whether the facsimile edition carries any separate rights is unverified.
- Hardy 1940 is likely still under US copyright until the end of 2035 if it was renewed or restored (unverified). Hardy died in 1947, so it is PD in life+70 countries since 2018 (inference).
- No source was found claiming that any Ramanujan result is used inside JPL, VSOP or ELP ephemerides. I found nothing to suggest it is, and I did not look exhaustively.
Q4. Modern numerical methods an accurate engine actually needs
Cited Findings
JPL DE440 file layout — JPL header.440 (ssd.jpl.nasa.gov)
- The file spans JED 2287184.5 (1549-12-21) to 2688976.5 (2650-01-25). Records are 32-day blocks of 1,018 coefficients.
- GROUP 1050 gives, per body: start pointer, coefficients per component, and sub-intervals per 32 days:
| Body | Coefficients per component | Sub-intervals per 32 days | Granule length |
|---|---|---|---|
| Mercury | 14 | 4 | 8 d |
| Venus | 10 | 2 | 16 d |
| Earth–Moon barycentre | 13 | 2 | 16 d |
| Mars | 11 | 1 | 32 d |
| Jupiter | 8 | 1 | 32 d |
| Saturn | 7 | 1 | 32 d |
| Uranus | 6 | 1 | 32 d |
| Neptune | 6 | 1 | 32 d |
| Pluto | 6 | 1 | 32 d |
| Moon (geocentric) | 13 | 8 | 4 d |
| Sun | 11 | 2 | 16 d |
| Nutations | 10 | 4 | 8 d |
| Librations | 10 | 4 | 8 d |
Swiss Ephemeris — Swiss Ephemeris documentation (astro.com)
- It reproduces JPL to about 1 milli-arcsecond.
- It stores differences between JPL and the analytical theory (VSOP87) as Chebyshev polynomials over one anomalistic cycle. Outer planets use 4000-day Chebyshev segments in the mean-orbit plane.
- DE431-based files cover 13000 BCE – 16800 CE.
- Version 2.06 adopted Stephenson, Morrison & Hohenkerk (2016) ΔT for dates before 1948.
- Lunar compressed files can show small discontinuities every 27.55 days.
- The Moshier fallback gives 0.5″ precision vs DE404 for 1369 BCE – 3000 CE.
- The "true node" and "apogee" have specific smoothness caveats.
Swiss Ephemeris on ayanamsha — same doc (astro.com)
- There is "no striking evidence" astronomically for any one ayanamsha.
- Krishnamurti's definition leaves about 50″ uncertainty.
- Lahiri depends on the precession model: about 5.8″ difference with Newcomb, about 23″ with IAU2006.
ΔT polynomials (Espenak & Meeus, from Morrison & Stephenson 2004) — NASA Eclipse Web Site
- y = year + (month − 0.5)/12.
- 2005–2050: ΔT = 62.92 + 0.32217t + 0.005589t², with t = y − 2000.
- 1986–2005: ΔT = 63.86 + 0.3345t − 0.060374t² + 0.0017275t³ + 0.000651814t⁴ + 0.00002373599t⁵.
- Outside −500 … +2150: ΔT = −20 + 32u², with u = (year − 1820)/100.
- The values assume a lunar secular acceleration of −26″/cy². For use with ELP-2000/82 (−25.858″/cy²), add c = −0.000012932 (y − 1955)².
- The 2005–2050 branch is an extrapolation, e.g. 93 s predicted for 2050.
ΔT uncertainty — NASA, Uncertainty in ΔT (NASA eclipse site)
- Morrison & Stephenson 2004 give σ ≈ 0.8t² s, with t = (year − 1820)/100, for 1000 BCE – 1200 CE.
- Earlier and later epochs use Huber's (2000) Brownian model.
| Year | σ(ΔT) | Earth-rotation equivalent |
|---|---|---|
| −1000 | 636 s | 2.65° |
| 0 | 265 s | 1.10° |
| +500 | 139 s | 0.58° |
| +1000 | 54 s | 0.22° |
| +1200 | 31 s | 0.13° |
| −3000 | 8978 s | 37.4° |
| +3000 | 1885 s | 7.9° |
Kepler's equation (E − e sin E = M), Newton test vectors [computed]
- Start value: E₀ = M for e < 0.8, else π. Tolerance 10⁻¹⁵ rad.
| M | e | E | True anomaly ν | Iterations |
|---|---|---|---|---|
| 5° | 0.1 | 5.554589253872° | 6.139761520840° | 4 |
| 10° | 0.0167086 (Earth) | 10.169019449569° | 10.339452149593° | 3 |
| 27° | 0.2056 (Mercury) | 33.502201975144° | 40.688676613892° | 4 |
| 5° | 0.967 (Halley) | 42.258779317865° | 142.941732397472° | 8 |
| 1° | 0.99 | 24.725822240938° | 144.155951570200° | 10 |
- ν = 2·atan2(√(1 + e)·sin(E/2), √(1 − e)·cos(E/2)).
Gaps
- Not fetched: SOFA/ERFA documentation; IERS ΔT / UT1 tables; the JPL DE440 paper (Park et al. 2021) on DE440 vs DE441 accuracy (DE441 covers −13200 to +17191, with less accurate lunar libration).
- I could not retrieve the 2016 Royal Society paper's σ table (HTTP 403). Use NASA's 2004-based σ until it is checked.
- No authoritative source was fetched comparing Newton, Brent and Danby/Markley Kepler solvers. The recommendation is standard numerical practice.
Q5. Accuracy budget: what precision makes tithi, nakshatra and lagna correct to the minute?
Cited Findings
- Ephemeris precision: Swiss Ephemeris agrees with JPL to about 0.001″. Moshier's analytical fallback is about 0.5″ — Swiss Ephemeris docs (astro.com).
- Ayanamsha ambiguity: about 50″ for Krishnamurti, and 5.8″–23″ for Lahiri depending on precession model — Swiss Ephemeris docs (astro.com).
- ΔT uncertainty: ±54 s at 1000 CE, ±265 s at 0 CE, ±636 s at −1000 — NASA ΔT uncertainty (NASA eclipse site).
- Rate conversions, using mean rates [computed]:
| Quantity | Mean rate | Arcsec per second of time | Seconds of time per arcsec |
|---|---|---|---|
| Moon longitude (nakshatra) | 13.176358°/day | 0.549″/s | 1.82 s |
| Elongation (tithi, karana) | 12.190711°/day | 0.508″/s | 1.97 s |
| Sun longitude (sankranti) | 0.985647°/day | 0.041″/s | 24.3 s |
| Earth rotation / ascendant (average) | 360°/sidereal day | 15.04″/s | 1° ≈ 239 s ≈ 4 min |
- Mean tithi length = 12°/12.1907 = 0.98436 d. Mean nakshatra length = 13°20′/13.1764 = 1.01191 d [computed].
Gaps
- Published min/max lunar daily motion was not fetched. The 11.8–15.4°/day range is recalled, not sourced.
- No source fetched quantifies sunrise-convention differences between drik panchang publishers in minutes. The 2–3 minute figure is an estimate (refraction 34′ + semidiameter 16′ ≈ 50′ of altitude, about 3.3 min near the equator; my arithmetic).
Q6. How to present the heritage maths in the product (honest framing, live demos, copyright notes)
Cited Findings
- Public-domain and source status:
- Clark's 1930 Aryabhatiya is US-PD since 1 January 2026 — Duke CSPD (Duke Law CSPD). The scan is at archive.org.
- Ramanujan's 1927 Collected Papers (pre-1931) is US-PD — archive.org.
- Ramanujan's own texts: he died in 1920 (widely known; not separately sourced here).
- "Calculus" caution for Bhaskara II: the derivative interpretation of tatkalika gati is a modern reading — Springer IJHS article (link.springer.com).
- Clark himself flags uncertainties: the table's method is unknown; the kuttaka verse is enigmatic (II.32-33); the rule gives "slight divergences" — Clark pp. 28-30, 43 (Internet Archive item The_Aryabhatiya_of_Aryabhata_Clark_1930).
Gaps
- Not extracted: the full katapayadi-like Aryabhata syllable table (consonant values plus vowel place multipliers) needed for demo #2. Clark explains it in the Dasagitika paribhasha notes (about pp. 2-8 of the djvu text), but it was not transcribed here.
- Not checked: Indian copyright status (life + 60) of Clark's translation, or of K. S. Shukla's critical editions (1976 INSA Aryabhatiya; 1960 Mahabhaskariya), which are almost certainly still in copyright.
- Not checked: the Tata 1957 facsimile of the Notebooks (TIFR). It is the best primary source for notebook demos, but its availability on archive.org was not confirmed (search returned only Berndt's in-copyright Ramanujan's Notebooks Parts II–III).