Given n number of floors, calculate the number of possible arrangements for a building that has apartments that take up 1 floor and 2 floors:
a. Implement a loop for combinations
b. Utilize a recursive function
c. Apply dynamic programming
d. Use a mathematical formula