We look at the division of 31789070 by 673 
The aim is to understand the frequency of 673 in 31789070.

Step 1:
If we divide 3 by 673, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 673

Advancing to step 2:
When dividing 31 by 673, we get 0 with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Append the next digit (7) from the dividend to 31 and continue with: 317 / 673

Step 3:
If we divide 317 by 673, we get 0 and a remainder of 317.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 317 leaves us with 317.
Include the next digit (8) from the dividend after 317, then repeat: 3178 / 673

Advancing to step 4:
When dividing 3178 by 673, we get 4 with a remainder of 486.
Put 4 as the next digit of the answer. 
Result so far: 4.0
The remainder is 486 after subtracting 2692 from 3178.
Grab the next digit (9) from the dividend, add it to 486, then carry on: 4869 / 673

Going ahead to step 5:
The number 673 fits into 4869 7 times, leaving a remainder of 158.
The number 7 becomes the next digit in our result. 
Result so far: 47.0
Subtracting 4711 from 4869 leaves us with 158.
Fetch the next digit (0) from the dividend, attach it to 158 and continue: 1580 / 673

Moving on to step 6:
If we divide 1580 by 673, we get 2 and a remainder of 234.
The number 2 becomes the next digit in our result. 
Result so far: 472.0
Deduct 1346 from 1580 and we're left with 234.
Bring next digit (7) of the dividend behind the 234 and repeat the process: 2347 / 673

Going ahead to step 7:
2347 divided by 673 is 3 with a remainder of 328.
Record the quotient 3 as the next digit in the result. 
Result so far: 4723.0
Subtract 2019 from 2347 to get 328.
Fetch the next digit (0) from the dividend, attach it to 328 and continue: 3280 / 673

Going ahead to step 8:
673 goes into 3280 4 times with a remainder of 588.
Use 4 as the next digit of our solution. 
Result so far: 47234.0
The remainder is 588 after subtracting 2692 from 3280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5880, and continue the process.

Advancing to step 9:
5880 divided by 673 is 8 with a remainder of 496.
The next digit of our result is 8. 
Result so far: 47234.8
The remainder is 496 after subtracting 5384 from 5880.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

Let's proceed to step 10:
673 can be fit into 4960 7 times, resulting in a remainder of 249.
Put 7 as the next digit of the answer. 
Result so far: 47234.87
Subtract 4711 from 4960 to get 249.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2490, and continue the process.

On to step 11:
When dividing 2490 by 673, we get 3 with a remainder of 471.
The number 3 becomes the next digit in our result. 
Result so far: 47234.873
If we take 2019 away from 2490, we end up with 471.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4710, and continue the process.

Step 12:
If we divide 4710 by 673, we get 6 and a remainder of 672.
The number 6 becomes the next digit in our result. 
Result so far: 47234.8736
Subtract 4038 from 4710 to get 672.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6720, and continue the process.

Advancing to step 13:
When dividing 6720 by 673, we get 9 with a remainder of 663.
Use 9 as the next digit of our solution. 
Result so far: 47234.87369
If we subtract 6057 from 6720, we get 663.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6630, and continue the process.

Going ahead to step 14:
673 can be fit into 6630 9 times, resulting in a remainder of 573.
The number 9 becomes the next digit in our result. 
Result so far: 47234.873699
Subtracting 6057 from 6630 leaves us with 573.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5730, and continue the process.

The final outcome is 47234.873699, with a leftover of 5.73e-05.