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

Step 1:
40 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (3) from the dividend after 5, then repeat: 53 / 40

Step 2:
When dividing 53 by 40, we get 1 with a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 40 from 53 to get 13.
Include the next digit (9) from the dividend after 13, then repeat: 139 / 40

Going ahead to step 3:
When dividing 139 by 40, we get 3 with a remainder of 19.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
If we subtract 120 from 139, we get 19.
Include the next digit (5) from the dividend after 19, then repeat: 195 / 40

Going ahead to step 4:
195 divided by 40 is 4 with a remainder of 35.
The next digit of our result is 4. 
Result so far: 134.0
The remainder is 35 after subtracting 160 from 195.
Fetch the next digit (8) from the dividend, attach it to 35 and continue: 358 / 40

Advancing to step 5:
When dividing 358 by 40, we get 8 with a remainder of 38.
The next digit of our result is 8. 
Result so far: 1348.0
The remainder is 38 after subtracting 320 from 358.
Fetch the next digit (6) from the dividend, attach it to 38 and continue: 386 / 40

Step 6:
If we divide 386 by 40, we get 9 and a remainder of 26.
The number 9 becomes the next digit in our result. 
Result so far: 13489.0
If we take 360 away from 386, we end up with 26.
Append the next digit (1) from the dividend to 26 and continue with: 261 / 40

Let's proceed to step 7:
261 divided by 40 is 6 with a remainder of 21.
Use 6 as the next digit of our solution. 
Result so far: 134896.0
If we take 240 away from 261, we end up with 21.
Include the next digit (3) from the dividend after 21, then repeat: 213 / 40

Step 8:
40 goes into 213 5 times with a remainder of 13.
Put 5 as the next digit of the answer. 
Result so far: 1348965.0
If we take 200 away from 213, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 9:
The number 40 fits into 130 3 times, leaving a remainder of 10.
The number 3 becomes the next digit in our result. 
Result so far: 1348965.3
If we subtract 120 from 130, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 10:
When dividing 100 by 40, we get 2 with a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 1348965.32
If we take 80 away from 100, 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.

On to step 11:
When dividing 200 by 40, we get 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 1348965.325
Subtract 200 from 200 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 12:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1348965.325
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 13:
If we divide 0 by 40, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 1348965.325
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.

The quotient of the division is 1348965.325, and the remainder is 0.0.