Bitwise interview question

Write a program for fibonacci series/factorial.