We look at the division of 31038934 by 47 
The aim is to understand the frequency of 47 in 31038934.

Step 1:
When dividing 3 by 47, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 47

Advancing to step 2:
47 goes into 31 0 times with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Bring next digit (0) of the dividend behind the 31 and repeat the process: 310 / 47

Going ahead to step 3:
When dividing 310 by 47, we get 6 with a remainder of 28.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Subtract 282 from 310 to get 28.
Take the next digit (3) from the dividend and append it to 28, then repeat: 283 / 47

Let's proceed to step 4:
283 divided by 47 is 6 with a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 66.0
Subtract 282 from 283 to get 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 47

Moving on to step 5:
47 can be fit into 18 0 times, resulting in a remainder of 18.
The number 0 becomes the next digit in our result. 
Result so far: 660.0
The remainder is 18 after subtracting 0 from 18.
Fetch the next digit (9) from the dividend, attach it to 18 and continue: 189 / 47

Moving on to step 6:
When dividing 189 by 47, we get 4 with a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 6604.0
Subtracting 188 from 189 leaves us with 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 47

Step 7:
47 goes into 13 0 times with a remainder of 13.
Put 0 as the next digit of the answer. 
Result so far: 66040.0
Subtract 0 from 13 to get 13.
Append the next digit (4) from the dividend to 13 and continue with: 134 / 47

On to step 8:
47 can be fit into 134 2 times, resulting in a remainder of 40.
Record the quotient 2 as the next digit in the result. 
Result so far: 660402.0
If we subtract 94 from 134, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 9:
The number 47 fits into 400 8 times, leaving a remainder of 24.
The next digit of our result is 8. 
Result so far: 660402.8
Subtract 376 from 400 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 10:
The number 47 fits into 240 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 660402.85
The remainder is 5 after subtracting 235 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 11:
When dividing 50 by 47, we get 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 660402.851
If we take 47 away from 50, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 12:
47 goes into 30 0 times with a remainder of 30.
The next digit of our result is 0. 
Result so far: 660402.851
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 13:
If we divide 300 by 47, we get 6 and a remainder of 18.
Use 6 as the next digit of our solution. 
Result so far: 660402.85106
The remainder is 18 after subtracting 282 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 14:
When dividing 180 by 47, we get 3 with a remainder of 39.
Put 3 as the next digit of the answer. 
Result so far: 660402.851063
The remainder is 39 after subtracting 141 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

On to step 15:
When dividing 390 by 47, we get 8 with a remainder of 14.
Use 8 as the next digit of our solution. 
Result so far: 660402.8510638
If we take 376 away from 390, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 16:
When dividing 140 by 47, we get 2 with a remainder of 46.
Put 2 as the next digit of the answer. 
Result so far: 660402.85106382
Subtracting 94 from 140 leaves us with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

After the division, we end up with 660402.85106382 and a remainder of 4.6e-08.