Recursive Formula For Linear Function