Number of elementary operations to add 2 numbers each of n digits

18 Views Asked by At

If we consider an operation as the sum/division/substraction/multiplication between two single digit numbers, then the following was said in my class:

If we sum 2 numbers of n digits each, then we need n elementary operations. But I can't see how this is true, which means, I am misinterpreting something. Let's look at the following example:

576 + 917 = 1493

6+7 = 3 remains, 1 carried (1 operation)

7 + 1 + 1 = 9 remains (2 operations)

5+9=14 remains (1 operation)

Here we have 4 operation for the sume of 2 3-digit numbers. What exactly I am not doing wrong.

EDIT:

If we consider 999 + 888 you will get even more operations, in this case 5 in total.