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

Advancing to step 1:
When dividing 5 by 31, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 31

On to step 2:
The number 31 fits into 52 1 times, leaving a remainder of 21.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 31 away from 52, we end up with 21.
Fetch the next digit (4) from the dividend, attach it to 21 and continue: 214 / 31

Advancing to step 3:
If we divide 214 by 31, we get 6 and a remainder of 28.
Use 6 as the next digit of our solution. 
Result so far: 16.0
Subtract 186 from 214 to get 28.
Bring next digit (9) of the dividend behind the 28 and repeat the process: 289 / 31

Advancing to step 4:
The number 31 fits into 289 9 times, leaving a remainder of 10.
Write down 9 as next digit of the result. 
Result so far: 169.0
If we subtract 279 from 289, we get 10.
Take the next digit (0) from the dividend and append it to 10, then repeat: 100 / 31

Let's proceed to step 5:
The number 31 fits into 100 3 times, leaving a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 1693.0
The remainder is 7 after subtracting 93 from 100.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 31

Advancing to step 6:
31 can be fit into 78 2 times, resulting in a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 16932.0
Deduct 62 from 78 and we're left 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.

Going ahead to step 7:
31 can be fit into 160 5 times, resulting in a remainder of 5.
The next digit of our result is 5. 
Result so far: 16932.5
If we subtract 155 from 160, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 8:
50 divided by 31 is 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 16932.51
If we subtract 31 from 50, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 9:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 16932.516
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.

Moving on to step 10:
40 divided by 31 is 1 with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 16932.5161
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.

Step 11:
31 can be fit into 90 2 times, resulting in a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 16932.51612
Deduct 62 from 90 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 12:
If we divide 280 by 31, we get 9 and a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 16932.516129
Subtract 279 from 280 to 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 13:
If we divide 10 by 31, we get 0 and a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 16932.516129
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 14:
100 divided by 31 is 3 with a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 16932.51612903
Subtract 93 from 100 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The quotient of the division is 16932.51612903, and the remainder is 7e-09.