OFFSET
1,1
LINKS
Max Alekseyev, Table of n, a(n) for n = 1..100
FORMULA
EXAMPLE
a(3) = 23, since sqrt(23) = [4; 1, 3, ...] and m=23 is the smallest integer such that sqrt(m) has with second partial quotient equal 3.
MATHEMATICA
CoefficientList[Series[(7 + 2*x + 2*x^2 - x^3 - x^4 + x^5) / ((1-x)^3 * (1+x)^3), {x, 0, 20}], x] (* Georg Fischer, Aug 18 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Max Alekseyev, Oct 20 2020
STATUS
approved