We divide 731781 by 31
The aim is to understand the frequency of 31 in 731781.

Going ahead to step 1:
31 can be fit into 7 0 times, resulting in a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Fetch the next digit (3) from the dividend, attach it to 7 and continue: 73 / 31

Moving on to step 2:
31 can be fit into 73 2 times, resulting in a remainder of 11.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtracting 62 from 73 leaves us with 11.
Append the next digit (1) from the dividend to 11 and continue with: 111 / 31

On to step 3:
When dividing 111 by 31, we get 3 with a remainder of 18.
Record the quotient 3 as the next digit in the result. 
Result so far: 23.0
Deduct 93 from 111 and we're left with 18.
Bring next digit (7) of the dividend behind the 18 and repeat the process: 187 / 31

Let's proceed to step 4:
187 divided by 31 is 6 with a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 236.0
Subtract 186 from 187 to get 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 31

Let's proceed to step 5:
The number 31 fits into 18 0 times, leaving a remainder of 18.
The number 0 becomes the next digit in our result. 
Result so far: 2360.0
If we subtract 0 from 18, we get 18.
Grab the next digit (1) from the dividend, add it to 18, then carry on: 181 / 31

Let's proceed to step 6:
31 goes into 181 5 times with a remainder of 26.
The next digit of our result is 5. 
Result so far: 23605.0
The remainder is 26 after subtracting 155 from 181.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 7:
When dividing 260 by 31, we get 8 with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 23605.8
Subtract 248 from 260 to get 12.
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 8:
31 can be fit into 120 3 times, resulting in a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 23605.83
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.

Going ahead to step 9:
When dividing 270 by 31, we get 8 with a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 23605.838
Deduct 248 from 270 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 10:
If we divide 220 by 31, we get 7 and a remainder of 3.
The next digit of our result is 7. 
Result so far: 23605.8387
The remainder is 3 after subtracting 217 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 11:
31 can be fit into 30 0 times, resulting in a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 23605.8387
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.

On to step 12:
If we divide 300 by 31, we get 9 and a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 23605.838709
Subtracting 279 from 300 leaves us 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.

On to step 13:
The number 31 fits into 210 6 times, leaving a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 23605.8387096
Subtract 186 from 210 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.

Step 14:
31 goes into 240 7 times with a remainder of 23.
The next digit of our result is 7. 
Result so far: 23605.83870967
Subtracting 217 from 240 leaves us 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.

The final outcome is 23605.83870967, with a leftover of 2.3e-08.