(i) By the binomial theorem, with the row 1, 4, 6, 4, 1,
(10+1)4=1×104+4×103+6×102+4×10+1
Each entry of row 4 is multiplied by its own power of 10. Every entry is a single digit (less than 10), so each one sits in its own place: 1 ten-thousand, 4 thousands, 6 hundreds, 4 tens and 1 unit. That gives 14641.
(ii) With the row 1, 5, 10, 10, 5, 1,
(10+1)5=1×105+5×104+10×103+10×102+5×10+1
=100000+50000+10000+1000+50+1=161051
So 115=161051. Riya wrote each entry 10 as two digits side by side. But 10×103=104 carries 1 into the ten-thousands place, and 10×102=103 carries 1 into the thousands place. Once an entry of the row is 10 or more, the digits no longer copy the row.
(iii) Now each entry of row 4 is also multiplied by a power of 2:
(10+2)4=104+4(103)(2)+6(102)(22)+4(10)(23)+24
=10000+8000+2400+320+16=20736
So 124=20736. Check: 122=144 and 1442=20736.
The places now hold 1, 8, 24, 32 and 16, which are the entries 1, 4, 6, 4, 1 multiplied by 1, 2, 4, 8, 16. Three of these are 10 or more, so they carry into the next place, and the digits become 2, 0, 7, 3, 6 instead of 1, 4, 6, 4, 1.