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

Step 1:
The number 34 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 34

On to step 2:
52 divided by 34 is 1 with a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 34 away from 52, we end up with 18.
Append the next digit (4) from the dividend to 18 and continue with: 184 / 34

Step 3:
When dividing 184 by 34, we get 5 with a remainder of 14.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
Deduct 170 from 184 and we're left with 14.
Bring next digit (3) of the dividend behind the 14 and repeat the process: 143 / 34

Advancing to step 4:
When dividing 143 by 34, we get 4 with a remainder of 7.
Record the quotient 4 as the next digit in the result. 
Result so far: 154.0
If we take 136 away from 143, we end up with 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 34

Moving on to step 5:
If we divide 79 by 34, we get 2 and a remainder of 11.
Record the quotient 2 as the next digit in the result. 
Result so far: 1542.0
Subtract 68 from 79 to get 11.
Take the next digit (1) from the dividend and append it to 11, then repeat: 111 / 34

On to step 6:
34 goes into 111 3 times with a remainder of 9.
The number 3 becomes the next digit in our result. 
Result so far: 15423.0
Deduct 102 from 111 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 7:
When dividing 90 by 34, we get 2 with a remainder of 22.
Use 2 as the next digit of our solution. 
Result so far: 15423.2
If we subtract 68 from 90, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 8:
If we divide 220 by 34, we get 6 and a remainder of 16.
The next digit of our result is 6. 
Result so far: 15423.26
Subtracting 204 from 220 leaves us with 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 9:
If we divide 160 by 34, we get 4 and a remainder of 24.
Record the quotient 4 as the next digit in the result. 
Result so far: 15423.264
The remainder is 24 after subtracting 136 from 160.
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 10:
34 goes into 240 7 times with a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 15423.2647
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.

On to step 11:
If we divide 20 by 34, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 15423.2647
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 12:
200 divided by 34 is 5 with a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 15423.264705
Subtract 170 from 200 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.

Advancing to step 13:
If we divide 300 by 34, we get 8 and a remainder of 28.
The next digit of our result is 8. 
Result so far: 15423.2647058
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.

Going ahead to step 14:
280 divided by 34 is 8 with a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 15423.26470588
Subtract 272 from 280 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Our division results in 15423.26470588 with a remaining 8e-09.