Let's divide 642674 by 34
The aim is to understand the frequency of 34 in 642674.

Moving on to step 1:
When dividing 6 by 34, we get 0 with a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Include the next digit (4) from the dividend after 6, then repeat: 64 / 34

On to step 2:
The number 34 fits into 64 1 times, leaving a remainder of 30.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 34 from 64 leaves us with 30.
Include the next digit (2) from the dividend after 30, then repeat: 302 / 34

Moving on to step 3:
When dividing 302 by 34, we get 8 with a remainder of 30.
Write down 8 as next digit of the result. 
Result so far: 18.0
Subtract 272 from 302 to get 30.
Fetch the next digit (6) from the dividend, attach it to 30 and continue: 306 / 34

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

Going ahead to step 5:
7 divided by 34 is 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 1890.0
The remainder is 7 after subtracting 0 from 7.
Include the next digit (4) from the dividend after 7, then repeat: 74 / 34

Step 6:
34 can be fit into 74 2 times, resulting in a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 18902.0
If we subtract 68 from 74, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 7:
34 goes into 60 1 times with a remainder of 26.
Write down 1 as next digit of the result. 
Result so far: 18902.1
Deduct 34 from 60 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 8:
If we divide 260 by 34, we get 7 and a remainder of 22.
The next digit of our result is 7. 
Result so far: 18902.17
Deduct 238 from 260 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 9:
34 can be fit into 220 6 times, resulting in a remainder of 16.
The next digit of our result is 6. 
Result so far: 18902.176
Subtract 204 from 220 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.

Going ahead to step 10:
When dividing 160 by 34, we get 4 with a remainder of 24.
Put 4 as the next digit of the answer. 
Result so far: 18902.1764
Subtracting 136 from 160 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 11:
The number 34 fits into 240 7 times, leaving a remainder of 2.
The next digit of our result is 7. 
Result so far: 18902.17647
The remainder is 2 after subtracting 238 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 12:
When dividing 20 by 34, we get 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 18902.17647
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 13:
The number 34 fits into 200 5 times, leaving a remainder of 30.
The next digit of our result is 5. 
Result so far: 18902.1764705
If we subtract 170 from 200, we 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.

Advancing to step 14:
34 can be fit into 300 8 times, resulting in a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 18902.17647058
If we take 272 away from 300, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The final result is 18902.17647058 with a remainder of 2.8e-08.