We're dividing 538323 by 51 
The aim is to understand the frequency of 51 in 538323.

On to step 1:
5 divided by 51 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (3) from the dividend and append it to 5, then repeat: 53 / 51

Advancing to step 2:
When dividing 53 by 51, we get 1 with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 2 after subtracting 51 from 53.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 51

Step 3:
51 goes into 28 0 times with a remainder of 28.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Deduct 0 from 28 and we're left with 28.
Append the next digit (3) from the dividend to 28 and continue with: 283 / 51

Advancing to step 4:
If we divide 283 by 51, we get 5 and a remainder of 28.
Write down 5 as next digit of the result. 
Result so far: 105.0
If we take 255 away from 283, we end up with 28.
Bring next digit (2) of the dividend behind the 28 and repeat the process: 282 / 51

Going ahead to step 5:
282 divided by 51 is 5 with a remainder of 27.
Record the quotient 5 as the next digit in the result. 
Result so far: 1055.0
Subtract 255 from 282 to get 27.
Bring next digit (3) of the dividend behind the 27 and repeat the process: 273 / 51

Advancing to step 6:
When dividing 273 by 51, we get 5 with a remainder of 18.
The next digit of our result is 5. 
Result so far: 10555.0
If we subtract 255 from 273, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 7:
51 can be fit into 180 3 times, resulting in a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 10555.3
If we subtract 153 from 180, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 8:
The number 51 fits into 270 5 times, leaving a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 10555.35
Subtracting 255 from 270 leaves us 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 9:
51 goes into 150 2 times with a remainder of 48.
Put 2 as the next digit of the answer. 
Result so far: 10555.352
If we subtract 102 from 150, we get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Advancing to step 10:
If we divide 480 by 51, we get 9 and a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 10555.3529
Deduct 459 from 480 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 11:
When dividing 210 by 51, we get 4 with a remainder of 6.
The next digit of our result is 4. 
Result so far: 10555.35294
Subtract 204 from 210 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 12:
The number 51 fits into 60 1 times, leaving a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 10555.352941
If we subtract 51 from 60, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 13:
If we divide 90 by 51, we get 1 and a remainder of 39.
The number 1 becomes the next digit in our result. 
Result so far: 10555.3529411
If we take 51 away from 90, we end up with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

The quotient of the division is 10555.3529411, and the remainder is 3.9e-07.