# Is there any way to predict the amount of “carries” one could get by doing a sum?

https://en.m.wikipedia.org/wiki/Carry_(arithmetic)

Definition of carry in Wikipedia

I'm guessing the answer is no but just to be sure I wanted to know of there is a way to predict the amount of carry overs one can get by doing a sum in base 10.

Given a natural number $a$, for example, can I predict the amount of carry overs I will get by doing $a^2 + 2a +1$? I want to know if it is possible to do this without actually computing the sum.

So for example 5+6 has 1 carry since you add two numbers in the $10^0$ position and carry a 1 to the $10^1$ position
• Would that count have to include the number of carries for computing $2a$ or $a^2$? – cronos2 Oct 31 '17 at 14:52
• So you're looking for corresponding digits in $a^2$ and $2a$ either where the sum of the two digits is greater than $9$ or where the sum is exactly $9$ and there is a carry from the next place to the right. My guess is that there is not a way to do this that is significantly more efficient in the general case than actually doing the sum. (Possibly in actual computing there is a way to gain a few processing cycles by ignoring some of the results of the addition and looking only at the carry.) – David K Oct 31 '17 at 15:16