# SageMath, with the attached generate.py and solver.py beside this file.
from generate import LaneEmdenDensityRatio
g = LaneEmdenDensityRatio()
g.value({'n': '3/2'}, digits=100)The incompressible ratio is the exact integer 1, and the index-one value is evaluated as $\pi^2/3$ with Arb ball arithmetic. The other eight ratios are calculated from freshly integrated radii and masses, using central-series initialization and Taylor continuation in $t=\sqrt{\theta_n}$. Runs at 150 and 210 working decimal digits use orders 160 and 210, step caps $1/12$ and $1/18$, and matching radii $1/2$ and $2/3$. The largest relative difference of the ten computed ratios, including the analytic controls, is less than $1.38\times10^{-153}$. Only 100 significant digits are stored for the nine approximated entries.
A separate radial-coordinate implementation checks all ten ratios at a relative tolerance of $10^{-40}$ and checks the pressure-integral virial identity. It uses 70 working decimal digits, order 80, exact rational central coefficients, and a leading mass-tail correction after reaching positive $\theta_n<10^{-30}$. The exact models are controls and deliberately displaced values are rejected. The stellar cases also agree with the two-decimal reference values in [2]. Readback checks test the stored decimal intervals, analytic anchors, companion radius/mass identity and independent integral identity.
These comparisons do not rigorously bound ODE truncation, propagated error or endpoint approximation. The attached generator, validation scripts, numerical evidence, argument selection and source manifests document the method and its limitations.