A note on a three-term recurrence for a tridiagonal matrix