We look at the division of 340528 by 34 
The aim is to understand the frequency of 34 in 340528.

Let's proceed to step 1:
34 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 34

Let's proceed to step 2:
34 goes into 34 1 times with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 34 from 34, we get 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 34

On to step 3:
The number 34 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 10.0
If we take 0 away from 0, we end up with 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 34

Going ahead to step 4:
34 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 100.0
Subtract 0 from 5 to get 5.
Bring next digit (2) of the dividend behind the 5 and repeat the process: 52 / 34

Let's proceed to step 5:
34 goes into 52 1 times with a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 1001.0
If we take 34 away from 52, we end up with 18.
Grab the next digit (8) from the dividend, add it to 18, then carry on: 188 / 34

On to step 6:
188 divided by 34 is 5 with a remainder of 18.
Record the quotient 5 as the next digit in the result. 
Result so far: 10015.0
The remainder is 18 after subtracting 170 from 188.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 7:
34 can be fit into 180 5 times, resulting in a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 10015.5
Deduct 170 from 180 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
If we divide 100 by 34, we get 2 and a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 10015.52
Subtract 68 from 100 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 9:
If we divide 320 by 34, we get 9 and a remainder of 14.
The next digit of our result is 9. 
Result so far: 10015.529
Subtract 306 from 320 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 10:
If we divide 140 by 34, we get 4 and a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 10015.5294
The remainder is 4 after subtracting 136 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 11:
40 divided by 34 is 1 with a remainder of 6.
Put 1 as the next digit of the answer. 
Result so far: 10015.52941
Subtract 34 from 40 to 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.

Advancing to step 12:
The number 34 fits into 60 1 times, leaving a remainder of 26.
Put 1 as the next digit of the answer. 
Result so far: 10015.529411
Subtract 34 from 60 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final outcome is 10015.529411, with a leftover of 2.6e-06.