parametrized fibonacci sequence