OFFSET
1,1
COMMENTS
Here, the minimal polynomial is required to have integer coefficients with no common divisors.
If two numbers have eventually periodic continued fraction expansions with the same periodic part, the discriminants of their respective minimal polynomials are the same.
FORMULA
EXAMPLE
For n = 6, the 5th composition is (1,2). The value of the continued fraction 1+1/(2+1/(1+1/(2+...))) is (1+sqrt(3))/2, whose minimal polynomial is 2*x^2-2*x-1 with discriminant a(6) = 12.
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Pontus von Brömssen, Dec 10 2024
STATUS
approved