playing with fibonacci and some generalizations