Let's divide 40018310 by 947
The aim is to understand the frequency of 947 in 40018310.

Let's proceed to step 1:
When dividing 4 by 947, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 947

Step 2:
947 goes into 40 0 times with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Grab the next digit (0) from the dividend, add it to 40, then carry on: 400 / 947

Moving on to step 3:
947 can be fit into 400 0 times, resulting in a remainder of 400.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 400, we end up with 400.
Append the next digit (1) from the dividend to 400 and continue with: 4001 / 947

Step 4:
4001 divided by 947 is 4 with a remainder of 213.
The next digit of our result is 4. 
Result so far: 4.0
Subtracting 3788 from 4001 leaves us with 213.
Append the next digit (8) from the dividend to 213 and continue with: 2138 / 947

Step 5:
2138 divided by 947 is 2 with a remainder of 244.
Put 2 as the next digit of the answer. 
Result so far: 42.0
Subtracting 1894 from 2138 leaves us with 244.
Append the next digit (3) from the dividend to 244 and continue with: 2443 / 947

Let's proceed to step 6:
When dividing 2443 by 947, we get 2 with a remainder of 549.
The next digit of our result is 2. 
Result so far: 422.0
Deduct 1894 from 2443 and we're left with 549.
Take the next digit (1) from the dividend and append it to 549, then repeat: 5491 / 947

Let's proceed to step 7:
5491 divided by 947 is 5 with a remainder of 756.
Record the quotient 5 as the next digit in the result. 
Result so far: 4225.0
Deduct 4735 from 5491 and we're left with 756.
Take the next digit (0) from the dividend and append it to 756, then repeat: 7560 / 947

On to step 8:
The number 947 fits into 7560 7 times, leaving a remainder of 931.
Write down 7 as next digit of the result. 
Result so far: 42257.0
If we take 6629 away from 7560, we end up with 931.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9310, and continue the process.

Step 9:
9310 divided by 947 is 9 with a remainder of 787.
The number 9 becomes the next digit in our result. 
Result so far: 42257.9
Subtract 8523 from 9310 to get 787.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7870, and continue the process.

Going ahead to step 10:
947 goes into 7870 8 times with a remainder of 294.
The next digit of our result is 8. 
Result so far: 42257.98
The remainder is 294 after subtracting 7576 from 7870.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2940, and continue the process.

Going ahead to step 11:
If we divide 2940 by 947, we get 3 and a remainder of 99.
Write down 3 as next digit of the result. 
Result so far: 42257.983
If we subtract 2841 from 2940, we get 99.
Since there are no more digits in the dividend, we add a zero to the remainder making it 990, and continue the process.

On to step 12:
947 can be fit into 990 1 times, resulting in a remainder of 43.
Record the quotient 1 as the next digit in the result. 
Result so far: 42257.9831
Deduct 947 from 990 and we're left with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

On to step 13:
If we divide 430 by 947, we get 0 and a remainder of 430.
Record the quotient 0 as the next digit in the result. 
Result so far: 42257.9831
Subtracting 0 from 430 leaves us with 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

Moving on to step 14:
If we divide 4300 by 947, we get 4 and a remainder of 512.
Put 4 as the next digit of the answer. 
Result so far: 42257.983104
If we take 3788 away from 4300, we end up with 512.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5120, and continue the process.

On to step 15:
947 goes into 5120 5 times with a remainder of 385.
The next digit of our result is 5. 
Result so far: 42257.9831045
Subtracting 4735 from 5120 leaves us with 385.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3850, and continue the process.

Advancing to step 16:
947 goes into 3850 4 times with a remainder of 62.
Write down 4 as next digit of the result. 
Result so far: 42257.98310454
If we subtract 3788 from 3850, we get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Our division results in 42257.98310454 with a remaining 6.2e-08.