corollary of Kummer’s theorem
As shown in Kummer’s theorem, the power of a prime number dividing, was the total number of carries whenadding and in base . We’ll give a recurrence relation
for the carryindicator.
Given integers and a prime number , let bethe -th digit of , and , respectively.
Define , and
for each up to the number of digits of .
For each we have
Starting with the -th digit of , we multiply with increasing powers of to get
The last sum in the above equation leaves only the values for indices and, and we get
(1) |
for all .