We divide 165227 by 28
The aim is to understand the frequency of 28 in 165227.

Let's proceed to step 1:
1 divided by 28 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 28

Advancing to step 2:
16 divided by 28 is 0 with a remainder of 16.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 16 to get 16.
Bring next digit (5) of the dividend behind the 16 and repeat the process: 165 / 28

On to step 3:
When dividing 165 by 28, we get 5 with a remainder of 25.
The next digit of our result is 5. 
Result so far: 5.0
If we take 140 away from 165, we end up with 25.
Bring next digit (2) of the dividend behind the 25 and repeat the process: 252 / 28

Step 4:
The number 28 fits into 252 9 times, leaving a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 59.0
The remainder is 0 after subtracting 252 from 252.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 28

Step 5:
The number 28 fits into 2 0 times, leaving a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 590.0
The remainder is 2 after subtracting 0 from 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 28

On to step 6:
If we divide 27 by 28, we get 0 and a remainder of 27.
Write down 0 as next digit of the result. 
Result so far: 5900.0
Subtracting 0 from 27 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 7:
270 divided by 28 is 9 with a remainder of 18.
Write down 9 as next digit of the result. 
Result so far: 5900.9
The remainder is 18 after subtracting 252 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 8:
28 goes into 180 6 times with a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 5900.96
The remainder is 12 after subtracting 168 from 180.
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 9:
The number 28 fits into 120 4 times, leaving a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 5900.964
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.

Going ahead to step 10:
80 divided by 28 is 2 with a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 5900.9642
If we subtract 56 from 80, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 11:
If we divide 240 by 28, we get 8 and a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 5900.96428
Subtract 224 from 240 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 12:
The number 28 fits into 160 5 times, leaving a remainder of 20.
Put 5 as the next digit of the answer. 
Result so far: 5900.964285
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.

Going ahead to step 13:
The number 28 fits into 200 7 times, leaving a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 5900.9642857
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.

Moving on to step 14:
28 can be fit into 40 1 times, resulting in a remainder of 12.
Put 1 as the next digit of the answer. 
Result so far: 5900.96428571
If we subtract 28 from 40, we 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.

The quotient of the division is 5900.96428571, and the remainder is 1.2e-08.