Sorry @sulochana8041 but I don’t know what the pattern is please write the pattern like +1 -2 +10 and then I’ll try to help you.
For the given problem, i can see the patter being 2N, 2N-8 on repeat.
Hey @codechief1 but from 64-50 in is -14.
i=14 k=28 n=1 while(i<=50): print(i) print(k) k=k+12*n i=i+6*n n=n+1
Notice alternate elements for pattern
Hey @abhinav_singh1 nice