Let's divide 287961 by 31
The aim is to understand the frequency of 31 in 287961.

Advancing to step 1:
31 can be fit into 2 0 times, resulting in a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 31

Going ahead to step 2:
When dividing 28 by 31, we get 0 with a remainder of 28.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 28 after subtracting 0 from 28.
Append the next digit (7) from the dividend to 28 and continue with: 287 / 31

Step 3:
287 divided by 31 is 9 with a remainder of 8.
Write down 9 as next digit of the result. 
Result so far: 9.0
Deduct 279 from 287 and we're left with 8.
Grab the next digit (9) from the dividend, add it to 8, then carry on: 89 / 31

Let's proceed to step 4:
If we divide 89 by 31, we get 2 and a remainder of 27.
Write down 2 as next digit of the result. 
Result so far: 92.0
If we take 62 away from 89, we end up with 27.
Include the next digit (6) from the dividend after 27, then repeat: 276 / 31

Step 5:
31 can be fit into 276 8 times, resulting in a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 928.0
Subtract 248 from 276 to get 28.
Append the next digit (1) from the dividend to 28 and continue with: 281 / 31

Step 6:
The number 31 fits into 281 9 times, leaving a remainder of 2.
The next digit of our result is 9. 
Result so far: 9289.0
If we take 279 away from 281, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 7:
When dividing 20 by 31, we get 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 9289.0
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 8:
31 can be fit into 200 6 times, resulting in a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 9289.06
Subtract 186 from 200 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 9:
140 divided by 31 is 4 with a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 9289.064
If we take 124 away from 140, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 10:
The number 31 fits into 160 5 times, leaving a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 9289.0645
Deduct 155 from 160 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 11:
If we divide 50 by 31, we get 1 and a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 9289.06451
Subtracting 31 from 50 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 12:
31 can be fit into 190 6 times, resulting in a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 9289.064516
If we take 186 away from 190, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 13:
31 goes into 40 1 times with a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 9289.0645161
Deduct 31 from 40 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 14:
90 divided by 31 is 2 with a remainder of 28.
The next digit of our result is 2. 
Result so far: 9289.06451612
Subtract 62 from 90 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

After the division, we end up with 9289.06451612 and a remainder of 2.8e-08.