We divide 420714 by 40
The aim is to understand the frequency of 40 in 420714.

Moving on to step 1:
The number 40 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 40

Let's proceed to step 2:
The number 40 fits into 42 1 times, leaving a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 40 from 42 leaves us with 2.
Include the next digit (0) from the dividend after 2, then repeat: 20 / 40

On to step 3:
20 divided by 40 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 10.0
If we take 0 away from 20, we end up with 20.
Append the next digit (7) from the dividend to 20 and continue with: 207 / 40

Advancing to step 4:
When dividing 207 by 40, we get 5 with a remainder of 7.
Record the quotient 5 as the next digit in the result. 
Result so far: 105.0
The remainder is 7 after subtracting 200 from 207.
Append the next digit (1) from the dividend to 7 and continue with: 71 / 40

On to step 5:
When dividing 71 by 40, we get 1 with a remainder of 31.
Write down 1 as next digit of the result. 
Result so far: 1051.0
If we take 40 away from 71, we end up with 31.
Bring next digit (4) of the dividend behind the 31 and repeat the process: 314 / 40

Advancing to step 6:
When dividing 314 by 40, we get 7 with a remainder of 34.
Record the quotient 7 as the next digit in the result. 
Result so far: 10517.0
Deduct 280 from 314 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 7:
40 can be fit into 340 8 times, resulting in a remainder of 20.
Record the quotient 8 as the next digit in the result. 
Result so far: 10517.8
Subtracting 320 from 340 leaves us 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.

Going ahead to step 8:
The number 40 fits into 200 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 10517.85
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.

On 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: 10517.85
The remainder is 0 after subtracting 0 from 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 10:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10517.85
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.

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