0

Algebraic Fibonacci
Given two integers starting integers, a, b, the terms of the Fibonacci sequence can be represented as follows:
a, b, a+b, a+2b, 2a+3b, 3a+5b, 5a+8b, 8a+13b...
The Challenge
Your task is to, given an integer n, return the nth Fibonacci number, represented algebraically usi...