1017571 ÷ 674 
The aim is to understand the frequency of 674 in 1017571.

Going ahead to step 1:
674 can be fit into 1 0 times, resulting in a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (0) from the dividend, add it to 1, then carry on: 10 / 674

Let's proceed to step 2:
674 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 10 and we're left with 10.
Take the next digit (1) from the dividend and append it to 10, then repeat: 101 / 674

Going ahead to step 3:
The number 674 fits into 101 0 times, leaving a remainder of 101.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 101, we end up with 101.
Take the next digit (7) from the dividend and append it to 101, then repeat: 1017 / 674

Going ahead to step 4:
1017 divided by 674 is 1 with a remainder of 343.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 674 from 1017, we get 343.
Grab the next digit (5) from the dividend, add it to 343, then carry on: 3435 / 674

On to step 5:
The number 674 fits into 3435 5 times, leaving a remainder of 65.
Put 5 as the next digit of the answer. 
Result so far: 15.0
If we subtract 3370 from 3435, we get 65.
Grab the next digit (7) from the dividend, add it to 65, then carry on: 657 / 674

Advancing to step 6:
674 goes into 657 0 times with a remainder of 657.
Put 0 as the next digit of the answer. 
Result so far: 150.0
Subtract 0 from 657 to get 657.
Grab the next digit (1) from the dividend, add it to 657, then carry on: 6571 / 674

Let's proceed to step 7:
6571 divided by 674 is 9 with a remainder of 505.
The number 9 becomes the next digit in our result. 
Result so far: 1509.0
Deduct 6066 from 6571 and we're left with 505.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5050, and continue the process.

Moving on to step 8:
If we divide 5050 by 674, we get 7 and a remainder of 332.
Record the quotient 7 as the next digit in the result. 
Result so far: 1509.7
Subtracting 4718 from 5050 leaves us with 332.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3320, and continue the process.

Going ahead to step 9:
674 goes into 3320 4 times with a remainder of 624.
Use 4 as the next digit of our solution. 
Result so far: 1509.74
Deduct 2696 from 3320 and we're left with 624.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6240, and continue the process.

Step 10:
The number 674 fits into 6240 9 times, leaving a remainder of 174.
Write down 9 as next digit of the result. 
Result so far: 1509.749
The remainder is 174 after subtracting 6066 from 6240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1740, and continue the process.

Advancing to step 11:
When dividing 1740 by 674, we get 2 with a remainder of 392.
Put 2 as the next digit of the answer. 
Result so far: 1509.7492
If we subtract 1348 from 1740, we get 392.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3920, and continue the process.

Step 12:
If we divide 3920 by 674, we get 5 and a remainder of 550.
Use 5 as the next digit of our solution. 
Result so far: 1509.74925
If we subtract 3370 from 3920, we get 550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5500, and continue the process.

Advancing to step 13:
674 goes into 5500 8 times with a remainder of 108.
The next digit of our result is 8. 
Result so far: 1509.749258
Deduct 5392 from 5500 and we're left with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Moving on to step 14:
If we divide 1080 by 674, we get 1 and a remainder of 406.
Write down 1 as next digit of the result. 
Result so far: 1509.7492581
If we take 674 away from 1080, we end up with 406.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4060, and continue the process.

Moving on to step 15:
When dividing 4060 by 674, we get 6 with a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 1509.74925816
Subtract 4044 from 4060 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final result is 1509.74925816 with a remainder of 1.6e-08.