We're dividing 509476 by 28 
The aim is to understand the frequency of 28 in 509476.

Moving on to step 1:
28 goes into 5 0 times with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 28

Let's proceed to step 2:
If we divide 50 by 28, we get 1 and a remainder of 22.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 28 from 50 to get 22.
Grab the next digit (9) from the dividend, add it to 22, then carry on: 229 / 28

On to step 3:
229 divided by 28 is 8 with a remainder of 5.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Deduct 224 from 229 and we're left with 5.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 28

Going ahead to step 4:
54 divided by 28 is 1 with a remainder of 26.
Record the quotient 1 as the next digit in the result. 
Result so far: 181.0
If we take 28 away from 54, we end up with 26.
Include the next digit (7) from the dividend after 26, then repeat: 267 / 28

Going ahead to step 5:
267 divided by 28 is 9 with a remainder of 15.
Write down 9 as next digit of the result. 
Result so far: 1819.0
Deduct 252 from 267 and we're left with 15.
Append the next digit (6) from the dividend to 15 and continue with: 156 / 28

Going ahead to step 6:
156 divided by 28 is 5 with a remainder of 16.
The next digit of our result is 5. 
Result so far: 18195.0
Deduct 140 from 156 and we're left 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 7:
The number 28 fits into 160 5 times, leaving a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 18195.5
If we subtract 140 from 160, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
28 can be fit into 200 7 times, resulting in a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 18195.57
Subtract 196 from 200 to 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.

Going ahead to step 9:
28 can be fit into 40 1 times, resulting in a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 18195.571
Subtracting 28 from 40 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.

On to step 10:
28 goes into 120 4 times with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 18195.5714
If we take 112 away from 120, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 11:
28 goes into 80 2 times with a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 18195.57142
If we take 56 away from 80, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 12:
240 divided by 28 is 8 with a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 18195.571428
Subtracting 224 from 240 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.

Let's proceed to step 13:
28 can be fit into 160 5 times, resulting in a remainder of 20.
Record the quotient 5 as the next digit in the result. 
Result so far: 18195.5714285
Subtract 140 from 160 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 14:
When dividing 200 by 28, we get 7 with a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 18195.57142857
Subtracting 196 from 200 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final result is 18195.57142857 with a remainder of 4e-09.