42013 ÷ 40 
The aim is to understand the frequency of 40 in 42013.

Step 1:
40 can be fit into 4 0 times, resulting in a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 40

Advancing to step 2:
If we divide 42 by 40, we get 1 and a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 2 after subtracting 40 from 42.
Fetch the next digit (0) from the dividend, attach it to 2 and continue: 20 / 40

Let's proceed to step 3:
The number 40 fits into 20 0 times, leaving a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Deduct 0 from 20 and we're left with 20.
Append the next digit (1) from the dividend to 20 and continue with: 201 / 40

On to step 4:
The number 40 fits into 201 5 times, leaving a remainder of 1.
The next digit of our result is 5. 
Result so far: 105.0
If we take 200 away from 201, we end up with 1.
Include the next digit (3) from the dividend after 1, then repeat: 13 / 40

Let's proceed to step 5:
When dividing 13 by 40, we get 0 with a remainder of 13.
Put 0 as the next digit of the answer. 
Result so far: 1050.0
Subtracting 0 from 13 leaves us 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.

Step 6:
When dividing 130 by 40, we get 3 with a remainder of 10.
Write down 3 as next digit of the result. 
Result so far: 1050.3
Deduct 120 from 130 and we're left 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.

Advancing to step 7:
When dividing 100 by 40, we get 2 with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 1050.32
If we subtract 80 from 100, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 8:
When dividing 200 by 40, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 1050.325
If we subtract 200 from 200, we 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.

Going ahead to step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1050.325
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.

Step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1050.325
If we subtract 0 from 0, we 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.

After the division, we end up with 1050.325 and a remainder of 0.0.