We look at the division of 31918744 by 497 
The aim is to understand the frequency of 497 in 31918744.

Let's proceed to step 1:
The number 497 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 497

On to step 2:
497 can be fit into 31 0 times, resulting in a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Include the next digit (9) from the dividend after 31, then repeat: 319 / 497

On to step 3:
497 goes into 319 0 times with a remainder of 319.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 319 to get 319.
Grab the next digit (1) from the dividend, add it to 319, then carry on: 3191 / 497

Advancing to step 4:
497 goes into 3191 6 times with a remainder of 209.
The next digit of our result is 6. 
Result so far: 6.0
If we subtract 2982 from 3191, we get 209.
Append the next digit (8) from the dividend to 209 and continue with: 2098 / 497

Let's proceed to step 5:
497 can be fit into 2098 4 times, resulting in a remainder of 110.
The number 4 becomes the next digit in our result. 
Result so far: 64.0
The remainder is 110 after subtracting 1988 from 2098.
Append the next digit (7) from the dividend to 110 and continue with: 1107 / 497

Moving on to step 6:
The number 497 fits into 1107 2 times, leaving a remainder of 113.
The number 2 becomes the next digit in our result. 
Result so far: 642.0
The remainder is 113 after subtracting 994 from 1107.
Bring next digit (4) of the dividend behind the 113 and repeat the process: 1134 / 497

On to step 7:
When dividing 1134 by 497, we get 2 with a remainder of 140.
Use 2 as the next digit of our solution. 
Result so far: 6422.0
Subtracting 994 from 1134 leaves us with 140.
Include the next digit (4) from the dividend after 140, then repeat: 1404 / 497

Step 8:
If we divide 1404 by 497, we get 2 and a remainder of 410.
Record the quotient 2 as the next digit in the result. 
Result so far: 64222.0
The remainder is 410 after subtracting 994 from 1404.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

Going ahead to step 9:
497 goes into 4100 8 times with a remainder of 124.
The next digit of our result is 8. 
Result so far: 64222.8
Deduct 3976 from 4100 and we're left with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Going ahead to step 10:
497 goes into 1240 2 times with a remainder of 246.
Use 2 as the next digit of our solution. 
Result so far: 64222.82
Subtract 994 from 1240 to get 246.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Advancing to step 11:
497 goes into 2460 4 times with a remainder of 472.
The number 4 becomes the next digit in our result. 
Result so far: 64222.824
Subtract 1988 from 2460 to get 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

Advancing to step 12:
The number 497 fits into 4720 9 times, leaving a remainder of 247.
Put 9 as the next digit of the answer. 
Result so far: 64222.8249
Subtract 4473 from 4720 to get 247.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2470, and continue the process.

On to step 13:
If we divide 2470 by 497, we get 4 and a remainder of 482.
The next digit of our result is 4. 
Result so far: 64222.82494
Subtracting 1988 from 2470 leaves us with 482.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4820, and continue the process.

On to step 14:
When dividing 4820 by 497, we get 9 with a remainder of 347.
The next digit of our result is 9. 
Result so far: 64222.824949
Subtract 4473 from 4820 to get 347.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3470, and continue the process.

Going ahead to step 15:
The number 497 fits into 3470 6 times, leaving a remainder of 488.
Use 6 as the next digit of our solution. 
Result so far: 64222.8249496
If we take 2982 away from 3470, we end up with 488.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4880, and continue the process.

Going ahead to step 16:
4880 divided by 497 is 9 with a remainder of 407.
The next digit of our result is 9. 
Result so far: 64222.82494969
The remainder is 407 after subtracting 4473 from 4880.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4070, and continue the process.

After the division, we end up with 64222.82494969 and a remainder of 4.07e-07.