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

Let's proceed to step 1:
34 can be fit into 4 0 times, resulting in a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 34

Step 2:
When dividing 40 by 34, we get 1 with a remainder of 6.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 34 from 40 to get 6.
Grab the next digit (2) from the dividend, add it to 6, then carry on: 62 / 34

On to step 3:
34 goes into 62 1 times with a remainder of 28.
Use 1 as the next digit of our solution. 
Result so far: 11.0
Deduct 34 from 62 and we're left with 28.
Include the next digit (3) from the dividend after 28, then repeat: 283 / 34

Step 4:
34 goes into 283 8 times with a remainder of 11.
Write down 8 as next digit of the result. 
Result so far: 118.0
If we take 272 away from 283, we end up with 11.
Take the next digit (9) from the dividend and append it to 11, then repeat: 119 / 34

Going ahead to step 5:
When dividing 119 by 34, we get 3 with a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 1183.0
Subtracting 102 from 119 leaves us with 17.
Include the next digit (4) from the dividend after 17, then repeat: 174 / 34

Step 6:
When dividing 174 by 34, we get 5 with a remainder of 4.
The next digit of our result is 5. 
Result so far: 11835.0
If we subtract 170 from 174, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 7:
34 goes into 40 1 times with a remainder of 6.
The next digit of our result is 1. 
Result so far: 11835.1
If we take 34 away from 40, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 8:
34 can be fit into 60 1 times, resulting in a remainder of 26.
The next digit of our result is 1. 
Result so far: 11835.11
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 result is 11835.11 with a remainder of 0.026.