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

Moving on to step 1:
31 goes into 8 0 times with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Fetch the next digit (9) from the dividend, attach it to 8 and continue: 89 / 31

Step 2:
The number 31 fits into 89 2 times, leaving a remainder of 27.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 62 from 89 and we're left with 27.
Take the next digit (8) from the dividend and append it to 27, then repeat: 278 / 31

Advancing to step 3:
If we divide 278 by 31, we get 8 and a remainder of 30.
Record the quotient 8 as the next digit in the result. 
Result so far: 28.0
Subtract 248 from 278 to get 30.
Grab the next digit (9) from the dividend, add it to 30, then carry on: 309 / 31

Going ahead to step 4:
309 divided by 31 is 9 with a remainder of 30.
The next digit of our result is 9. 
Result so far: 289.0
Subtract 279 from 309 to get 30.
Take the next digit (4) from the dividend and append it to 30, then repeat: 304 / 31

Advancing to step 5:
31 goes into 304 9 times with a remainder of 25.
Put 9 as the next digit of the answer. 
Result so far: 2899.0
If we take 279 away from 304, we end up with 25.
Bring next digit (7) of the dividend behind the 25 and repeat the process: 257 / 31

Let's proceed to step 6:
When dividing 257 by 31, we get 8 with a remainder of 9.
The number 8 becomes the next digit in our result. 
Result so far: 28998.0
The remainder is 9 after subtracting 248 from 257.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 7:
31 goes into 90 2 times with a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 28998.2
If we subtract 62 from 90, we 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.

Let's proceed to step 8:
31 can be fit into 280 9 times, resulting in a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 28998.29
If we subtract 279 from 280, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 9:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 28998.29
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 10:
31 goes into 100 3 times with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 28998.2903
If we take 93 away from 100, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 11:
If we divide 70 by 31, we get 2 and a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 28998.29032
Deduct 62 from 70 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 12:
When dividing 80 by 31, we get 2 with a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 28998.290322
Deduct 62 from 80 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The quotient of the division is 28998.290322, and the remainder is 1.8e-06.