When one examines the units digit of each Fibonacci number Fn, n ≥ 0, one finds that these digits form a sequence that repeats after 60 terms. [This was first proved by Joseph-Louis Lagrange (1736-1813).] Write a computer program (or develop an algorithm) to calculate this sequence of 60 digits. |
New search. (Also 1294 free access solutions) |