We divide 39837290 by 670
The aim is to understand the frequency of 670 in 39837290.

Advancing to step 1:
If we divide 3 by 670, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 670

Advancing to step 2:
39 divided by 670 is 0 with a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Append the next digit (8) from the dividend to 39 and continue with: 398 / 670

Let's proceed to step 3:
670 goes into 398 0 times with a remainder of 398.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 398 and we're left with 398.
Grab the next digit (3) from the dividend, add it to 398, then carry on: 3983 / 670

Moving on to step 4:
670 can be fit into 3983 5 times, resulting in a remainder of 633.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we take 3350 away from 3983, we end up with 633.
Append the next digit (7) from the dividend to 633 and continue with: 6337 / 670

Advancing to step 5:
If we divide 6337 by 670, we get 9 and a remainder of 307.
The next digit of our result is 9. 
Result so far: 59.0
If we take 6030 away from 6337, we end up with 307.
Include the next digit (2) from the dividend after 307, then repeat: 3072 / 670

Let's proceed to step 6:
3072 divided by 670 is 4 with a remainder of 392.
Use 4 as the next digit of our solution. 
Result so far: 594.0
If we take 2680 away from 3072, we end up with 392.
Take the next digit (9) from the dividend and append it to 392, then repeat: 3929 / 670

Going ahead to step 7:
The number 670 fits into 3929 5 times, leaving a remainder of 579.
Record the quotient 5 as the next digit in the result. 
Result so far: 5945.0
Subtracting 3350 from 3929 leaves us with 579.
Bring next digit (0) of the dividend behind the 579 and repeat the process: 5790 / 670

Advancing to step 8:
The number 670 fits into 5790 8 times, leaving a remainder of 430.
Put 8 as the next digit of the answer. 
Result so far: 59458.0
Deduct 5360 from 5790 and we're left with 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

On to step 9:
4300 divided by 670 is 6 with a remainder of 280.
The next digit of our result is 6. 
Result so far: 59458.6
Subtracting 4020 from 4300 leaves us with 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Advancing to step 10:
When dividing 2800 by 670, we get 4 with a remainder of 120.
Put 4 as the next digit of the answer. 
Result so far: 59458.64
If we take 2680 away from 2800, we end up with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Advancing to step 11:
The number 670 fits into 1200 1 times, leaving a remainder of 530.
Record the quotient 1 as the next digit in the result. 
Result so far: 59458.641
Subtracting 670 from 1200 leaves us with 530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5300, and continue the process.

Advancing to step 12:
670 goes into 5300 7 times with a remainder of 610.
Record the quotient 7 as the next digit in the result. 
Result so far: 59458.6417
The remainder is 610 after subtracting 4690 from 5300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6100, and continue the process.

On to step 13:
670 can be fit into 6100 9 times, resulting in a remainder of 70.
Record the quotient 9 as the next digit in the result. 
Result so far: 59458.64179
If we take 6030 away from 6100, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Going ahead to step 14:
700 divided by 670 is 1 with a remainder of 30.
Write down 1 as next digit of the result. 
Result so far: 59458.641791
Subtract 670 from 700 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 15:
If we divide 300 by 670, we get 0 and a remainder of 300.
Write down 0 as next digit of the result. 
Result so far: 59458.641791
If we take 0 away from 300, we end up with 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Advancing to step 16:
670 can be fit into 3000 4 times, resulting in a remainder of 320.
The number 4 becomes the next digit in our result. 
Result so far: 59458.64179104
Subtracting 2680 from 3000 leaves us with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

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