Let's divide 471051 by 31
The aim is to understand the frequency of 31 in 471051.

Let's proceed to step 1:
31 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 31

Going ahead to step 2:
31 goes into 47 1 times with a remainder of 16.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 31 from 47, we get 16.
Include the next digit (1) from the dividend after 16, then repeat: 161 / 31

Step 3:
31 can be fit into 161 5 times, resulting in a remainder of 6.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
The remainder is 6 after subtracting 155 from 161.
Bring next digit (0) of the dividend behind the 6 and repeat the process: 60 / 31

Let's proceed to step 4:
If we divide 60 by 31, we get 1 and a remainder of 29.
Put 1 as the next digit of the answer. 
Result so far: 151.0
Subtract 31 from 60 to get 29.
Include the next digit (5) from the dividend after 29, then repeat: 295 / 31

On to step 5:
31 goes into 295 9 times with a remainder of 16.
Put 9 as the next digit of the answer. 
Result so far: 1519.0
If we take 279 away from 295, we end up with 16.
Fetch the next digit (1) from the dividend, attach it to 16 and continue: 161 / 31

Going ahead to step 6:
161 divided by 31 is 5 with a remainder of 6.
Put 5 as the next digit of the answer. 
Result so far: 15195.0
The remainder is 6 after subtracting 155 from 161.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
The number 31 fits into 60 1 times, leaving a remainder of 29.
Write down 1 as next digit of the result. 
Result so far: 15195.1
Deduct 31 from 60 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 8:
If we divide 290 by 31, we get 9 and a remainder of 11.
Use 9 as the next digit of our solution. 
Result so far: 15195.19
If we take 279 away from 290, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 9:
110 divided by 31 is 3 with a remainder of 17.
Write down 3 as next digit of the result. 
Result so far: 15195.193
If we take 93 away from 110, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 10:
If we divide 170 by 31, we get 5 and a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 15195.1935
Subtracting 155 from 170 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 11:
31 goes into 150 4 times with a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 15195.19354
The remainder is 26 after subtracting 124 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 12:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 15195.193548
If we take 248 away from 260, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 13:
31 goes into 120 3 times with a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 15195.1935483
Subtracting 93 from 120 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 14:
The number 31 fits into 270 8 times, leaving a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 15195.19354838
If we subtract 248 from 270, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Our division results in 15195.19354838 with a remaining 2.2e-08.