Doubt in the last line of the output

how to print the last line of the ouput

@Adhyayan
Here if you look closely every ith number is the binomial coefficient of the expansion (1+x)^k where k starts from 0.

Also number in line k at ith position = k!/( (k-i)! * i!)
and number in k line at (i-1)th position = k!/( (k-i + 1)! * (i-1)! )
Therefore number in line k at ith position is (number in k line at (i-1)th position) * (k - i + 1) / i