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

On to 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
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 31

On to step 2:
When dividing 58 by 31, we get 1 with a remainder of 27.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 31 from 58 to get 27.
Bring next digit (3) of the dividend behind the 27 and repeat the process: 273 / 31

Advancing to step 3:
31 can be fit into 273 8 times, resulting in a remainder of 25.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Subtract 248 from 273 to get 25.
Include the next digit (0) from the dividend after 25, then repeat: 250 / 31

Going ahead to step 4:
250 divided by 31 is 8 with a remainder of 2.
The next digit of our result is 8. 
Result so far: 188.0
Subtracting 248 from 250 leaves us with 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 31

Let's proceed to step 5:
31 can be fit into 28 0 times, resulting in a remainder of 28.
Write down 0 as next digit of the result. 
Result so far: 1880.0
Deduct 0 from 28 and we're left with 28.
Append the next digit (2) from the dividend to 28 and continue with: 282 / 31

Let's proceed to step 6:
When dividing 282 by 31, we get 9 with a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 18809.0
The remainder is 3 after subtracting 279 from 282.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
31 goes into 30 0 times with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 18809.0
If we subtract 0 from 30, we 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.

Advancing to step 8:
When dividing 300 by 31, we get 9 with a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 18809.09
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 9:
31 can be fit into 210 6 times, resulting in a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 18809.096
If we subtract 186 from 210, we 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.

Step 10:
31 goes into 240 7 times with a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 18809.0967
If we take 217 away from 240, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 11:
If we divide 230 by 31, we get 7 and a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 18809.09677
Subtract 217 from 230 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

After the division, we end up with 18809.09677 and a remainder of 1.3e-05.