506037 ÷ 34 
The aim is to understand the frequency of 34 in 506037.

Moving on to step 1:
5 divided by 34 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 34

Moving on to step 2:
The number 34 fits into 50 1 times, leaving a remainder of 16.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 34 from 50, we get 16.
Fetch the next digit (6) from the dividend, attach it to 16 and continue: 166 / 34

Step 3:
166 divided by 34 is 4 with a remainder of 30.
Use 4 as the next digit of our solution. 
Result so far: 14.0
If we take 136 away from 166, we end up with 30.
Fetch the next digit (0) from the dividend, attach it to 30 and continue: 300 / 34

Moving on to step 4:
When dividing 300 by 34, we get 8 with a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 148.0
Subtract 272 from 300 to get 28.
Take the next digit (3) from the dividend and append it to 28, then repeat: 283 / 34

Advancing to step 5:
34 goes into 283 8 times with a remainder of 11.
Put 8 as the next digit of the answer. 
Result so far: 1488.0
If we subtract 272 from 283, we get 11.
Append the next digit (7) from the dividend to 11 and continue with: 117 / 34

Step 6:
The number 34 fits into 117 3 times, leaving a remainder of 15.
The number 3 becomes the next digit in our result. 
Result so far: 14883.0
Deduct 102 from 117 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 7:
When dividing 150 by 34, we get 4 with a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 14883.4
The remainder is 14 after subtracting 136 from 150.
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 8:
If we divide 140 by 34, we get 4 and a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 14883.44
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.

Our division results in 14883.44 with a remaining 0.004.