40822042 divided by 845 
We want to figure out the number of times 40822042 can be divided by 845.

Advancing to step 1:
If we divide 4 by 845, we get 0 and a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 845

Advancing to step 2:
845 can be fit into 40 0 times, resulting in a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Take the next digit (8) from the dividend and append it to 40, then repeat: 408 / 845

On to step 3:
The number 845 fits into 408 0 times, leaving a remainder of 408.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 408, we end up with 408.
Grab the next digit (2) from the dividend, add it to 408, then carry on: 4082 / 845

On to step 4:
If we divide 4082 by 845, we get 4 and a remainder of 702.
The next digit of our result is 4. 
Result so far: 4.0
Deduct 3380 from 4082 and we're left with 702.
Fetch the next digit (2) from the dividend, attach it to 702 and continue: 7022 / 845

Advancing to step 5:
When dividing 7022 by 845, we get 8 with a remainder of 262.
The number 8 becomes the next digit in our result. 
Result so far: 48.0
Deduct 6760 from 7022 and we're left with 262.
Grab the next digit (0) from the dividend, add it to 262, then carry on: 2620 / 845

Advancing to step 6:
845 goes into 2620 3 times with a remainder of 85.
Record the quotient 3 as the next digit in the result. 
Result so far: 483.0
If we take 2535 away from 2620, we end up with 85.
Fetch the next digit (4) from the dividend, attach it to 85 and continue: 854 / 845

Moving on to step 7:
If we divide 854 by 845, we get 1 and a remainder of 9.
The next digit of our result is 1. 
Result so far: 4831.0
If we take 845 away from 854, we end up with 9.
Include the next digit (2) from the dividend after 9, then repeat: 92 / 845

Going ahead to step 8:
845 goes into 92 0 times with a remainder of 92.
The next digit of our result is 0. 
Result so far: 48310.0
If we subtract 0 from 92, we get 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Going ahead to step 9:
If we divide 920 by 845, we get 1 and a remainder of 75.
The next digit of our result is 1. 
Result so far: 48310.1
Subtract 845 from 920 to 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.

Step 10:
When dividing 750 by 845, we get 0 with a remainder of 750.
The number 0 becomes the next digit in our result. 
Result so far: 48310.1
Deduct 0 from 750 and we're left 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.

On to step 11:
7500 divided by 845 is 8 with a remainder of 740.
Use 8 as the next digit of our solution. 
Result so far: 48310.108
If we subtract 6760 from 7500, we get 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7400, and continue the process.

Advancing to step 12:
845 goes into 7400 8 times with a remainder of 640.
The number 8 becomes the next digit in our result. 
Result so far: 48310.1088
Subtract 6760 from 7400 to get 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6400, and continue the process.

Our division results in 48310.1088 with a remaining 0.0064.