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

Going ahead to step 1:
The number 31 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 31

Moving on to step 2:
The number 31 fits into 58 1 times, leaving a remainder of 27.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 31 from 58, we get 27.
Fetch the next digit (1) from the dividend, attach it to 27 and continue: 271 / 31

Step 3:
The number 31 fits into 271 8 times, leaving a remainder of 23.
Write down 8 as next digit of the result. 
Result so far: 18.0
Deduct 248 from 271 and we're left with 23.
Append the next digit (1) from the dividend to 23 and continue with: 231 / 31

Moving on to step 4:
If we divide 231 by 31, we get 7 and a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 187.0
Subtracting 217 from 231 leaves us with 14.
Include the next digit (6) from the dividend after 14, then repeat: 146 / 31

Step 5:
31 goes into 146 4 times with a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 1874.0
The remainder is 22 after subtracting 124 from 146.
Take the next digit (0) from the dividend and append it to 22, then repeat: 220 / 31

Advancing to step 6:
When dividing 220 by 31, we get 7 with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 18747.0
If we subtract 217 from 220, we 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.

Let's proceed to step 7:
The number 31 fits into 30 0 times, leaving a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 18747.0
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.

Going ahead to step 8:
The number 31 fits into 300 9 times, leaving a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 18747.09
Deduct 279 from 300 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 9:
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: 18747.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.

Moving on to 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: 18747.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.

Let's proceed to step 11:
If we divide 230 by 31, we get 7 and a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 18747.09677
Deduct 217 from 230 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final result is 18747.09677 with a remainder of 1.3e-05.