Prove that the number
(
is rational if and only if n is even.
(I think going one way if n is even then its clear that its rational, what about assuming that n is even then the number is rational? Is it inductive?)
Consider the sequencedefined as:
Certaintly, the terms of the sequenceare integers.
Furthermore, the solution to this recurrence relation is given by:.
Ifis even then
Consider the Fibonacci sequenceit satifies
Define.
Ifis odd then
.
Therefore for oddwe have
.