Apple interview question

how to get fibonacci sequence