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

Going ahead to step 1:
When dividing 3 by 497, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 497

Let's proceed to step 2:
If we divide 38 by 497, we get 0 and a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 38 leaves us with 38.
Grab the next digit (9) from the dividend, add it to 38, then carry on: 389 / 497

Advancing to step 3:
When dividing 389 by 497, we get 0 with a remainder of 389.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 389, we end up with 389.
Append the next digit (6) from the dividend to 389 and continue with: 3896 / 497

Going ahead to step 4:
The number 497 fits into 3896 7 times, leaving a remainder of 417.
Use 7 as the next digit of our solution. 
Result so far: 7.0
The remainder is 417 after subtracting 3479 from 3896.
Take the next digit (6) from the dividend and append it to 417, then repeat: 4176 / 497

On to step 5:
The number 497 fits into 4176 8 times, leaving a remainder of 200.
Use 8 as the next digit of our solution. 
Result so far: 78.0
If we subtract 3976 from 4176, we get 200.
Grab the next digit (1) from the dividend, add it to 200, then carry on: 2001 / 497

Step 6:
When dividing 2001 by 497, we get 4 with a remainder of 13.
Use 4 as the next digit of our solution. 
Result so far: 784.0
The remainder is 13 after subtracting 1988 from 2001.
Grab the next digit (4) from the dividend, add it to 13, then carry on: 134 / 497

On to step 7:
If we divide 134 by 497, we get 0 and a remainder of 134.
The next digit of our result is 0. 
Result so far: 7840.0
The remainder is 134 after subtracting 0 from 134.
Grab the next digit (6) from the dividend, add it to 134, then carry on: 1346 / 497

On to step 8:
When dividing 1346 by 497, we get 2 with a remainder of 352.
Write down 2 as next digit of the result. 
Result so far: 78402.0
If we take 994 away from 1346, we end up with 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Let's proceed to step 9:
If we divide 3520 by 497, we get 7 and a remainder of 41.
Record the quotient 7 as the next digit in the result. 
Result so far: 78402.7
If we subtract 3479 from 3520, we get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Moving on to step 10:
497 can be fit into 410 0 times, resulting in a remainder of 410.
Write down 0 as next digit of the result. 
Result so far: 78402.7
Subtract 0 from 410 to get 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

Step 11:
497 can be fit into 4100 8 times, resulting in a remainder of 124.
Put 8 as the next digit of the answer. 
Result so far: 78402.708
If we subtract 3976 from 4100, we get 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Moving on to step 12:
1240 divided by 497 is 2 with a remainder of 246.
Put 2 as the next digit of the answer. 
Result so far: 78402.7082
If we subtract 994 from 1240, we 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.

Let's proceed to step 13:
2460 divided by 497 is 4 with a remainder of 472.
The next digit of our result is 4. 
Result so far: 78402.70824
If we subtract 1988 from 2460, we 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.

Let's proceed to step 14:
497 goes into 4720 9 times with a remainder of 247.
Put 9 as the next digit of the answer. 
Result so far: 78402.708249
If we subtract 4473 from 4720, we 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.

Step 15:
If we divide 2470 by 497, we get 4 and a remainder of 482.
Put 4 as the next digit of the answer. 
Result so far: 78402.7082494
Deduct 1988 from 2470 and we're left 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.

Going ahead to step 16:
497 goes into 4820 9 times with a remainder of 347.
Write down 9 as next digit of the result. 
Result so far: 78402.70824949
If we take 4473 away from 4820, we end up with 347.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3470, and continue the process.

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