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

Moving on to step 1:
If we divide 4 by 31, we get 0 and a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (9) from the dividend, add it to 4, then carry on: 49 / 31

Advancing to step 2:
The number 31 fits into 49 1 times, leaving a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 31 away from 49, we end up with 18.
Fetch the next digit (7) from the dividend, attach it to 18 and continue: 187 / 31

On to step 3:
31 goes into 187 6 times with a remainder of 1.
The next digit of our result is 6. 
Result so far: 16.0
The remainder is 1 after subtracting 186 from 187.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 31

Moving on to step 4:
The number 31 fits into 16 0 times, leaving a remainder of 16.
Put 0 as the next digit of the answer. 
Result so far: 160.0
If we subtract 0 from 16, we get 16.
Bring next digit (2) of the dividend behind the 16 and repeat the process: 162 / 31

On to step 5:
162 divided by 31 is 5 with a remainder of 7.
Use 5 as the next digit of our solution. 
Result so far: 1605.0
Deduct 155 from 162 and we're left with 7.
Bring next digit (1) of the dividend behind the 7 and repeat the process: 71 / 31

Step 6:
31 goes into 71 2 times with a remainder of 9.
The number 2 becomes the next digit in our result. 
Result so far: 16052.0
Subtracting 62 from 71 leaves us 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.

Advancing to step 7:
31 goes into 90 2 times with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 16052.2
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.

Advancing to step 8:
The number 31 fits into 280 9 times, leaving a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 16052.29
Subtracting 279 from 280 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 9:
31 can be fit into 10 0 times, resulting in a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 16052.29
If we subtract 0 from 10, we 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:
The number 31 fits into 100 3 times, leaving a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 16052.2903
Subtracting 93 from 100 leaves us 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:
70 divided by 31 is 2 with a remainder of 8.
The next digit of our result is 2. 
Result so far: 16052.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:
If we divide 80 by 31, we get 2 and a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 16052.290322
If we subtract 62 from 80, we get 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 16052.290322, and the remainder is 1.8e-06.