Text this: The diophantine equation ni+1=k(dn−1)