We're dividing 845163 by 40 
We're looking to find how many times 40 goes into 845163.

Let's proceed to step 1:
If we divide 8 by 40, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 40

Let's proceed to step 2:
If we divide 84 by 40, we get 2 and a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 80 from 84 to get 4.
Grab the next digit (5) from the dividend, add it to 4, then carry on: 45 / 40

Going ahead to step 3:
40 goes into 45 1 times with a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
If we subtract 40 from 45, we get 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 40

Let's proceed to step 4:
When dividing 51 by 40, we get 1 with a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 211.0
If we subtract 40 from 51, we get 11.
Append the next digit (6) from the dividend to 11 and continue with: 116 / 40

Let's proceed to step 5:
40 goes into 116 2 times with a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 2112.0
Subtracting 80 from 116 leaves us with 36.
Grab the next digit (3) from the dividend, add it to 36, then carry on: 363 / 40

Moving on to step 6:
When dividing 363 by 40, we get 9 with a remainder of 3.
Use 9 as the next digit of our solution. 
Result so far: 21129.0
If we subtract 360 from 363, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
If we divide 30 by 40, we get 0 and a remainder of 30.
The next digit of our result is 0. 
Result so far: 21129.0
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 8:
If we divide 300 by 40, we get 7 and a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 21129.07
If we take 280 away from 300, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 9:
If we divide 200 by 40, we get 5 and a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 21129.075
Deduct 200 from 200 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 21129.075
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 11:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 21129.075
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 21129.075 with a remainder of 0.0.