Let's divide 50078822 by 45
We want to figure out the number of times 50078822 can be divided by 45.

On to step 1:
5 divided by 45 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 45

Step 2:
45 can be fit into 50 1 times, resulting in a remainder of 5.
The next digit of our result is 1. 
Result so far: 1.0
If we take 45 away from 50, we end up with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 45

Let's proceed to step 3:
If we divide 50 by 45, we get 1 and a remainder of 5.
The next digit of our result is 1. 
Result so far: 11.0
Subtract 45 from 50 to get 5.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 45

Moving on to step 4:
The number 45 fits into 57 1 times, leaving a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 111.0
Subtracting 45 from 57 leaves us with 12.
Append the next digit (8) from the dividend to 12 and continue with: 128 / 45

Let's proceed to step 5:
The number 45 fits into 128 2 times, leaving a remainder of 38.
The number 2 becomes the next digit in our result. 
Result so far: 1112.0
Subtracting 90 from 128 leaves us with 38.
Append the next digit (8) from the dividend to 38 and continue with: 388 / 45

Advancing to step 6:
If we divide 388 by 45, we get 8 and a remainder of 28.
Put 8 as the next digit of the answer. 
Result so far: 11128.0
If we subtract 360 from 388, we get 28.
Include the next digit (2) from the dividend after 28, then repeat: 282 / 45

Going ahead to step 7:
45 can be fit into 282 6 times, resulting in a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 111286.0
Subtracting 270 from 282 leaves us with 12.
Include the next digit (2) from the dividend after 12, then repeat: 122 / 45

Step 8:
122 divided by 45 is 2 with a remainder of 32.
Record the quotient 2 as the next digit in the result. 
Result so far: 1112862.0
Subtract 90 from 122 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 9:
When dividing 320 by 45, we get 7 with a remainder of 5.
Write down 7 as next digit of the result. 
Result so far: 1112862.7
Deduct 315 from 320 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 10:
When dividing 50 by 45, we get 1 with a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 1112862.71
If we take 45 away from 50, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 11:
When dividing 50 by 45, we get 1 with a remainder of 5.
The next digit of our result is 1. 
Result so far: 1112862.711
If we subtract 45 from 50, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

After the division, we end up with 1112862.711 and a remainder of 0.0005.