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

Let's proceed to step 1:
If we divide 2 by 31, we get 0 and a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 31

Step 2:
28 divided by 31 is 0 with a remainder of 28.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 28 leaves us with 28.
Take the next digit (5) from the dividend and append it to 28, then repeat: 285 / 31

Advancing to step 3:
If we divide 285 by 31, we get 9 and a remainder of 6.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
The remainder is 6 after subtracting 279 from 285.
Append the next digit (2) from the dividend to 6 and continue with: 62 / 31

Moving on to step 4:
62 divided by 31 is 2 with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 92.0
Subtract 62 from 62 to get 0.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 31

Step 5:
31 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 920.0
If we subtract 0 from 4, we get 4.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 31

Going ahead to step 6:
The number 31 fits into 42 1 times, leaving a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 9201.0
Subtract 31 from 42 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.

Advancing to step 7:
The number 31 fits into 110 3 times, leaving a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 9201.3
If we subtract 93 from 110, we 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.

Let's proceed to step 8:
31 can be fit into 170 5 times, resulting in a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 9201.35
Subtract 155 from 170 to 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.

Moving on to step 9:
If we divide 150 by 31, we get 4 and a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 9201.354
Subtracting 124 from 150 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.

Going ahead to step 10:
31 goes into 260 8 times with a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 9201.3548
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.

Going ahead to step 11:
The number 31 fits into 120 3 times, leaving a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 9201.35483
If we subtract 93 from 120, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 12:
The number 31 fits into 270 8 times, leaving a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 9201.354838
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.

Going ahead to step 13:
When dividing 220 by 31, we get 7 with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 9201.3548387
Deduct 217 from 220 and we're left 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.

On to step 14:
When dividing 30 by 31, we get 0 with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 9201.3548387
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final outcome is 9201.3548387, with a leftover of 3e-08.