Bitwise Interview Question

sql join , fibinacii series