Anonymous Content interview question

a program to print a pattern,a program to perform various operations on prime number.