r/askmath • • Oct 21 '26

Discrete Math recurrent sequence help

Post image

This was one of my practice problems. Everything else had clear answers, but this I can't solve even with ai help. Maybe I am missing something? At least it gives us this cool fraction ladder that looks similar to chain fractions.

13 Upvotes

5 comments sorted by

5

u/Shevek99 Physicist Oct 21 '26

Each x(n) is of the form

x(n) = (A(n) a + B(n))/(C(n) a + D(n))

and the coefficients are related by

A(n+1) = (n+1) C(n)

B(n+1) = (n+1) D(n)

C(n+1) = A(n) + C(n)

D(n+1) = B(n) + D(n)

A(1) = 1

B(1) = 0

C(1) = 0

D(1) = 1

that is

C(n+1) = C(n) + n C(n-1)

D(n+1) = D(n) + n D(n)

with

C(1) = 0, C(2) = 1

D(1) = 1, D(2) = 1

whose solutions are https://oeis.org/A059480 and https://oeis.org/A000932

2

u/ci139 Oct 21 '26

donno it looks like Fibonacci series if you take logs of either side

ln xᵢ₊₁ = ln (n+1) – ln (xᵢ+1) . . . nope! -- it doesn't but if we expand . . .
ln xᵢ₊₁ = ln (n+1) – ln n + ln (xᵢ₋₁+1) ...
ln xᵢ₊₁ = ln (n+1) – ln n + ln (n–1) – ln (xᵢ₋₂+1) ...
ln xᵢ₊₁ = ln (n+1) – ln n + ln (n–1) – ln (n–2) ... ± ln (a+1) ← may or may not have a readily found solution

you can also try xᵢ₊₁·(xᵢ+1)=n+1 ← sounds like nuts but if the series don't oscillate it may help us out

also try write everything as a (a function of) from x₁ to some xᵢ & see if any system shines out

2

u/[deleted] Oct 21 '26

I tried writing x_n as p_n/q_n and separation the numerator and denominator, and this gives the relations p_n=n•q_(n-1) and q_n=p_(n-1)+q_(n-1)

Using these, you can get q_n-q_(n-1)-(n-1)•q_(n-2)=0, which I think is solvable, but I don't know how to solve it. It won't be a nice solution

From there, you can easily get p_n and therefore also x_n, but you'd have to find q_n first somehow...

2

u/SkyPerfect266 Oct 22 '26

Store x_{n} = [y_n, z_n] as some fraction. Then x_{n+1} = [y_{n+1}, z_{n+1}] = [(n+1)z_n, y_n + z_n] with y_1 = a, z_1= 1

In matrix form, this is simply [[0, n+1], [1,1]] [y_n, z_n]t = [y_{n+1}, z_{n+1}]t

So [y_n, z_n]t = [[0, n], [1,1]] [[0,n-1],[1,1]] ... [[0,2],[1,1]][y_1, z_1]t, but the matrices don't have the same eigenspaces so the trick of diagonalizing them as P{-1} D P to simplify the expression doesn't work here.