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

Advancing to step 1:
When dividing 7 by 31, we get 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 31

Moving on to step 2:
If we divide 79 by 31, we get 2 and a remainder of 17.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 62 away from 79, we end up with 17.
Bring next digit (7) of the dividend behind the 17 and repeat the process: 177 / 31

Let's proceed to step 3:
31 goes into 177 5 times with a remainder of 22.
Use 5 as the next digit of our solution. 
Result so far: 25.0
The remainder is 22 after subtracting 155 from 177.
Grab the next digit (3) from the dividend, add it to 22, then carry on: 223 / 31

Step 4:
When dividing 223 by 31, we get 7 with a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 257.0
The remainder is 6 after subtracting 217 from 223.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 5:
31 goes into 60 1 times with a remainder of 29.
The number 1 becomes the next digit in our result. 
Result so far: 257.1
Subtract 31 from 60 to get 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 6:
If we divide 290 by 31, we get 9 and a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 257.19
Subtract 279 from 290 to get 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 7:
If we divide 110 by 31, we get 3 and a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 257.193
Subtract 93 from 110 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 8:
31 goes into 170 5 times with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 257.1935
If we subtract 155 from 170, we 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 9:
31 can be fit into 150 4 times, resulting in a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 257.19354
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 10:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 257.193548
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.

Step 11:
When dividing 120 by 31, we get 3 with a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 257.1935483
If we take 93 away from 120, we end up 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.

Step 12:
The number 31 fits into 270 8 times, leaving a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 257.19354838
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.

The quotient of the division is 257.19354838, and the remainder is 2.2e-08.