We're dividing 594228 by 36 
The aim is to understand the frequency of 36 in 594228.

On to step 1:
5 divided by 36 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (9) from the dividend after 5, then repeat: 59 / 36

Let's proceed to step 2:
When dividing 59 by 36, we get 1 with a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 23 after subtracting 36 from 59.
Grab the next digit (4) from the dividend, add it to 23, then carry on: 234 / 36

Step 3:
When dividing 234 by 36, we get 6 with a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 16.0
Subtract 216 from 234 to get 18.
Grab the next digit (2) from the dividend, add it to 18, then carry on: 182 / 36

Moving on to step 4:
If we divide 182 by 36, we get 5 and a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 165.0
If we take 180 away from 182, we end up with 2.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 36

Advancing to step 5:
The number 36 fits into 22 0 times, leaving a remainder of 22.
The next digit of our result is 0. 
Result so far: 1650.0
If we take 0 away from 22, we end up with 22.
Grab the next digit (8) from the dividend, add it to 22, then carry on: 228 / 36

Step 6:
36 can be fit into 228 6 times, resulting in a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 16506.0
The remainder is 12 after subtracting 216 from 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 7:
The number 36 fits into 120 3 times, leaving a remainder of 12.
Record the quotient 3 as the next digit in the result. 
Result so far: 16506.3
Subtracting 108 from 120 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 8:
36 goes into 120 3 times with a remainder of 12.
Write down 3 as next digit of the result. 
Result so far: 16506.33
If we take 108 away from 120, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Our division results in 16506.33 with a remaining 0.012.