Transfinite Interview Question

Print the program using arithmetic progration