Aristocrat interview question

Few program prime, fibonacci, etc