568059 ÷ 31 
The aim is to understand the frequency of 31 in 568059.

Step 1:
31 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 31

Step 2:
When dividing 56 by 31, we get 1 with a remainder of 25.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 31 from 56 leaves us with 25.
Fetch the next digit (8) from the dividend, attach it to 25 and continue: 258 / 31

Advancing to step 3:
258 divided by 31 is 8 with a remainder of 10.
Write down 8 as next digit of the result. 
Result so far: 18.0
Subtracting 248 from 258 leaves us with 10.
Include the next digit (0) from the dividend after 10, then repeat: 100 / 31

Moving on to step 4:
When dividing 100 by 31, we get 3 with a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 183.0
If we take 93 away from 100, we end up with 7.
Include the next digit (5) from the dividend after 7, then repeat: 75 / 31

Going ahead to step 5:
When dividing 75 by 31, we get 2 with a remainder of 13.
Record the quotient 2 as the next digit in the result. 
Result so far: 1832.0
If we take 62 away from 75, we end up with 13.
Bring next digit (9) of the dividend behind the 13 and repeat the process: 139 / 31

On to step 6:
139 divided by 31 is 4 with a remainder of 15.
Record the quotient 4 as the next digit in the result. 
Result so far: 18324.0
Subtract 124 from 139 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 7:
31 goes into 150 4 times with a remainder of 26.
The next digit of our result is 4. 
Result so far: 18324.4
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.

Step 8:
If we divide 260 by 31, we get 8 and a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 18324.48
The remainder is 12 after subtracting 248 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 9:
The number 31 fits into 120 3 times, leaving a remainder of 27.
The next digit of our result is 3. 
Result so far: 18324.483
Subtract 93 from 120 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 10:
The number 31 fits into 270 8 times, leaving a remainder of 22.
The next digit of our result is 8. 
Result so far: 18324.4838
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.

On to step 11:
The number 31 fits into 220 7 times, leaving a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 18324.48387
Subtract 217 from 220 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 12:
The number 31 fits into 30 0 times, leaving a remainder of 30.
The next digit of our result is 0. 
Result so far: 18324.48387
Subtract 0 from 30 to get 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:
31 can be fit into 300 9 times, resulting in a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 18324.4838709
Subtract 279 from 300 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 14:
210 divided by 31 is 6 with a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 18324.48387096
The remainder is 24 after subtracting 186 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final outcome is 18324.48387096, with a leftover of 2.4e-08.