We're dividing 980835 by 31 
The aim is to understand the frequency of 31 in 980835.

Going ahead to step 1:
When dividing 9 by 31, we get 0 with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 31

Moving on to step 2:
The number 31 fits into 98 3 times, leaving a remainder of 5.
Write down 3 as next digit of the result. 
Result so far: 3.0
Deduct 93 from 98 and we're left with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 31

Going ahead to step 3:
31 goes into 50 1 times with a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 31.0
Subtracting 31 from 50 leaves us with 19.
Fetch the next digit (8) from the dividend, attach it to 19 and continue: 198 / 31

Let's proceed to step 4:
When dividing 198 by 31, we get 6 with a remainder of 12.
The next digit of our result is 6. 
Result so far: 316.0
The remainder is 12 after subtracting 186 from 198.
Bring next digit (3) of the dividend behind the 12 and repeat the process: 123 / 31

Moving on to step 5:
31 goes into 123 3 times with a remainder of 30.
The number 3 becomes the next digit in our result. 
Result so far: 3163.0
Deduct 93 from 123 and we're left with 30.
Append the next digit (5) from the dividend to 30 and continue with: 305 / 31

Let's proceed to step 6:
305 divided by 31 is 9 with a remainder of 26.
The number 9 becomes the next digit in our result. 
Result so far: 31639.0
Subtracting 279 from 305 leaves us with 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 7:
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: 31639.8
If we take 248 away from 260, we end up 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 8:
31 goes into 120 3 times with a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 31639.83
Deduct 93 from 120 and we're left 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.

Moving on to step 9:
31 goes into 270 8 times with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 31639.838
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 10:
31 goes into 220 7 times with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 31639.8387
If we take 217 away from 220, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 11:
30 divided by 31 is 0 with a remainder of 30.
The next digit of our result is 0. 
Result so far: 31639.8387
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 12:
If we divide 300 by 31, we get 9 and a remainder of 21.
The next digit of our result is 9. 
Result so far: 31639.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.

Going ahead to step 13:
210 divided by 31 is 6 with a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 31639.8387096
Subtracting 186 from 210 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 14:
If we divide 240 by 31, we get 7 and a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 31639.83870967
If we subtract 217 from 240, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Our division results in 31639.83870967 with a remaining 2.3e-08.