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

Moving on to step 1:
The number 28 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 28

Going ahead to step 2:
The number 28 fits into 51 1 times, leaving a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 28 away from 51, we end up with 23.
Bring next digit (1) of the dividend behind the 23 and repeat the process: 231 / 28

Let's proceed to step 3:
When dividing 231 by 28, we get 8 with a remainder of 7.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
If we subtract 224 from 231, we get 7.
Append the next digit (3) from the dividend to 7 and continue with: 73 / 28

Let's proceed to step 4:
When dividing 73 by 28, we get 2 with a remainder of 17.
Write down 2 as next digit of the result. 
Result so far: 182.0
If we subtract 56 from 73, we get 17.
Bring next digit (3) of the dividend behind the 17 and repeat the process: 173 / 28

On to step 5:
28 can be fit into 173 6 times, resulting in a remainder of 5.
Use 6 as the next digit of our solution. 
Result so far: 1826.0
Subtracting 168 from 173 leaves us with 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 28

On to step 6:
The number 28 fits into 58 2 times, leaving a remainder of 2.
The next digit of our result is 2. 
Result so far: 18262.0
Deduct 56 from 58 and we're left with 2.
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 7:
20 divided by 28 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 18262.0
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
If we divide 200 by 28, we get 7 and a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 18262.07
The remainder is 4 after subtracting 196 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 9:
The number 28 fits into 40 1 times, leaving a remainder of 12.
Use 1 as the next digit of our solution. 
Result so far: 18262.071
Subtract 28 from 40 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 10:
When dividing 120 by 28, we get 4 with a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 18262.0714
The remainder is 8 after subtracting 112 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 11:
The number 28 fits into 80 2 times, leaving a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 18262.07142
The remainder is 24 after subtracting 56 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 12:
28 goes into 240 8 times with a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 18262.071428
Deduct 224 from 240 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 13:
28 can be fit into 160 5 times, resulting in a remainder of 20.
Put 5 as the next digit of the answer. 
Result so far: 18262.0714285
If we take 140 away from 160, we end up 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.

On to step 14:
The number 28 fits into 200 7 times, leaving a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 18262.07142857
If we take 196 away from 200, we end up 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 18262.07142857 with a remainder of 4e-09.