use general term formula to compute fibonacci value