![]() |
|
#13
|
|||
|
|||
|
If x is some "tower of nines" and with the notation for z[j]
as in your post, this is just to clarify (perhaps for any readers out there): Since x is odd, with C(n,r) denoting the combinations of n choose r, [10-1]^x = (-1) + C(x,1)*10 - C(x,2)*100 + C(x,3)*1000 - ... so z1 = -1 = 9 (mod 10) z2 = -1 + C(9,1)*10 = -1 + 90 = 89 (mod 100) z3 = -1 + C(89,1)*10 - C(89,2)*100 = -1 + 890 - 600 = 289 (mod 1000) z4 = -1 + C(289,1)*10 - C(289,2)*100 + C(289,3)*1000 = -1 + 2890 - 1600 + 4000 = 5289 (mod 10000) z5 = -1 + C(5289,1)*10 - C(5289,2)*100 + C(5289,3)*1000 -C(5289,4)*10000 = -1 + 52890 - 11600 + 64000 - 60000 = 45289 (mod 100000) |
| Thread Tools | |
| Display Modes | |
|
|