i need to print in this form
1 2 3 4 5 6
3 5 7 9 11
8 12 16 20

i need program for this