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

Moving on to step 1:
31 can be fit into 4 0 times, resulting in a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 31

On to step 2:
31 goes into 49 1 times with a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 31 away from 49, we end up with 18.
Take the next digit (6) from the dividend and append it to 18, then repeat: 186 / 31

Step 3:
If we divide 186 by 31, we get 6 and a remainder of 0.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
If we take 186 away from 186, we end up with 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 31

Let's proceed to step 4:
31 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 160.0
Subtracting 0 from 7 leaves us with 7.
Fetch the next digit (4) from the dividend, attach it to 7 and continue: 74 / 31

Moving on to step 5:
31 goes into 74 2 times with a remainder of 12.
The next digit of our result is 2. 
Result so far: 1602.0
If we take 62 away from 74, we end up with 12.
Bring next digit (2) of the dividend behind the 12 and repeat the process: 122 / 31

Advancing to step 6:
122 divided by 31 is 3 with a remainder of 29.
Record the quotient 3 as the next digit in the result. 
Result so far: 16023.0
Subtracting 93 from 122 leaves us 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.

Step 7:
290 divided by 31 is 9 with a remainder of 11.
Record the quotient 9 as the next digit in the result. 
Result so far: 16023.9
Subtracting 279 from 290 leaves us 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.

Step 8:
31 can be fit into 110 3 times, resulting in a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 16023.93
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.

Let's proceed to step 9:
The number 31 fits into 170 5 times, leaving a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 16023.935
If we take 155 away from 170, we end up 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.

Advancing to step 10:
If we divide 150 by 31, we get 4 and a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 16023.9354
Subtract 124 from 150 to get 26.
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 11:
If we divide 260 by 31, we get 8 and a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 16023.93548
Deduct 248 from 260 and we're left 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 12:
When dividing 120 by 31, we get 3 with a remainder of 27.
The next digit of our result is 3. 
Result so far: 16023.935483
The remainder is 27 after subtracting 93 from 120.
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 13:
31 can be fit into 270 8 times, resulting in a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 16023.9354838
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 14:
31 can be fit into 220 7 times, resulting in a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 16023.93548387
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.

The quotient of the division is 16023.93548387, and the remainder is 3e-09.