OFFSET
1,2
EXAMPLE
a(2) = -10 because the two continued fractions are cf[0;2,2] = 0 + 1/(2 + 1/2) = 2/5 and cf[0;2] = 0 + 1/2 = 1/2 and the reciprocal of their difference is 1/(2/5 - 1/2) = -10.
a(3) = 330 because the two continued fractions are cf[0;3,3,3] = 0 + 1/(3 + 1/(3 + 1/3)) = 10/33 and cf[0;3,3] = 0 + 1/(3 + 1/3) = 3/10, and 1/(10/33 - 3/10) = 330.
MAPLE
a:= n-> (f-> -(-1)^n*f(n, n)*f(n+1, n))(combinat[fibonacci]):
seq(a(n), n=1..15); # Alois P. Heinz, Jul 06 2022
PROG
(PARI) a(n) = (-1)^(n+1) * vecprod(Vec(lift(Mod('x, 'x^2-n*'x-1)^(n+1)))); \\ Kevin Ryde, Apr 18 2022
(Python)
from sympy.ntheory.continued_fraction import continued_fraction_reduce
def A352798(n): return int(1/(continued_fraction_reduce([0]+[n]*n)-continued_fraction_reduce([0]+[n]*(n-1)))) # Chai Wah Wu, Jul 06 2022
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Sebastian F. Orellana, Apr 03 2022
EXTENSIONS
More terms from Kevin Ryde, Apr 18 2022
STATUS
approved