Let's divide 381825 by 40
The aim is to understand the frequency of 40 in 381825.

Moving on to step 1:
If we divide 3 by 40, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 40

On to step 2:
40 can be fit into 38 0 times, resulting in a remainder of 38.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 38, we end up with 38.
Grab the next digit (1) from the dividend, add it to 38, then carry on: 381 / 40

Advancing to step 3:
The number 40 fits into 381 9 times, leaving a remainder of 21.
Write down 9 as next digit of the result. 
Result so far: 9.0
Deduct 360 from 381 and we're left with 21.
Append the next digit (8) from the dividend to 21 and continue with: 218 / 40

Let's proceed to step 4:
If we divide 218 by 40, we get 5 and a remainder of 18.
Record the quotient 5 as the next digit in the result. 
Result so far: 95.0
If we take 200 away from 218, we end up with 18.
Grab the next digit (2) from the dividend, add it to 18, then carry on: 182 / 40

Advancing to step 5:
182 divided by 40 is 4 with a remainder of 22.
Record the quotient 4 as the next digit in the result. 
Result so far: 954.0
Subtract 160 from 182 to get 22.
Grab the next digit (5) from the dividend, add it to 22, then carry on: 225 / 40

Step 6:
When dividing 225 by 40, we get 5 with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 9545.0
The remainder is 25 after subtracting 200 from 225.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 7:
40 goes into 250 6 times with a remainder of 10.
Use 6 as the next digit of our solution. 
Result so far: 9545.6
Subtracting 240 from 250 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
40 can be fit into 100 2 times, resulting in a remainder of 20.
Record the quotient 2 as the next digit in the result. 
Result so far: 9545.62
The remainder is 20 after subtracting 80 from 100.
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:
200 divided by 40 is 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 9545.625
The remainder is 0 after subtracting 200 from 200.
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:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 9545.625
If we take 0 away from 0, we end up 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.

Going ahead to step 11:
40 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 9545.625
Subtracting 0 from 0 leaves us 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.

Our division results in 9545.625 with a remaining 0.0.