We look at the division of 40221253 by 775 
We want to figure out the number of times 40221253 can be divided by 775.

On to step 1:
775 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 775

Moving on to step 2:
When dividing 40 by 775, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Append the next digit (2) from the dividend to 40 and continue with: 402 / 775

Moving on to step 3:
402 divided by 775 is 0 with a remainder of 402.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 402 after subtracting 0 from 402.
Bring next digit (2) of the dividend behind the 402 and repeat the process: 4022 / 775

Moving on to step 4:
4022 divided by 775 is 5 with a remainder of 147.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 147 after subtracting 3875 from 4022.
Take the next digit (1) from the dividend and append it to 147, then repeat: 1471 / 775

Going ahead to step 5:
775 can be fit into 1471 1 times, resulting in a remainder of 696.
The next digit of our result is 1. 
Result so far: 51.0
Subtracting 775 from 1471 leaves us with 696.
Grab the next digit (2) from the dividend, add it to 696, then carry on: 6962 / 775

Step 6:
775 goes into 6962 8 times with a remainder of 762.
The next digit of our result is 8. 
Result so far: 518.0
If we subtract 6200 from 6962, we get 762.
Fetch the next digit (5) from the dividend, attach it to 762 and continue: 7625 / 775

Advancing to step 7:
If we divide 7625 by 775, we get 9 and a remainder of 650.
Put 9 as the next digit of the answer. 
Result so far: 5189.0
Subtracting 6975 from 7625 leaves us with 650.
Grab the next digit (3) from the dividend, add it to 650, then carry on: 6503 / 775

Let's proceed to step 8:
If we divide 6503 by 775, we get 8 and a remainder of 303.
Put 8 as the next digit of the answer. 
Result so far: 51898.0
Subtracting 6200 from 6503 leaves us with 303.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3030, and continue the process.

Advancing to step 9:
The number 775 fits into 3030 3 times, leaving a remainder of 705.
The next digit of our result is 3. 
Result so far: 51898.3
Deduct 2325 from 3030 and we're left with 705.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7050, and continue the process.

Step 10:
775 goes into 7050 9 times with a remainder of 75.
The next digit of our result is 9. 
Result so far: 51898.39
If we subtract 6975 from 7050, we get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Advancing to step 11:
When dividing 750 by 775, we get 0 with a remainder of 750.
Use 0 as the next digit of our solution. 
Result so far: 51898.39
Subtracting 0 from 750 leaves us with 750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7500, and continue the process.

Advancing to step 12:
775 can be fit into 7500 9 times, resulting in a remainder of 525.
Put 9 as the next digit of the answer. 
Result so far: 51898.3909
Subtracting 6975 from 7500 leaves us with 525.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5250, and continue the process.

Let's proceed to step 13:
5250 divided by 775 is 6 with a remainder of 600.
Write down 6 as next digit of the result. 
Result so far: 51898.39096
Deduct 4650 from 5250 and we're left with 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

Let's proceed to step 14:
The number 775 fits into 6000 7 times, leaving a remainder of 575.
Use 7 as the next digit of our solution. 
Result so far: 51898.390967
Subtracting 5425 from 6000 leaves us with 575.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5750, and continue the process.

Step 15:
When dividing 5750 by 775, we get 7 with a remainder of 325.
The number 7 becomes the next digit in our result. 
Result so far: 51898.3909677
The remainder is 325 after subtracting 5425 from 5750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3250, and continue the process.

In conclusion, the division gives 51898.3909677 with a balance of 3.25e-06.