sqrt_cf_expansion
Calculate the continued fraction expansion of square roots to represent √n as periodic sequences for non-perfect squares, useful in number theory and approximation problems.
Instructions
Find continued fraction expansion of √n (periodic for non-perfect squares). (Domain: arithmetic, Category: continued_fractions)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |