We look at the division of 536228 by 51 
The aim is to understand the frequency of 51 in 536228.

Advancing to step 1:
51 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (3) from the dividend to 5 and continue with: 53 / 51

On to step 2:
53 divided by 51 is 1 with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 51 from 53 leaves us with 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 51

Let's proceed to step 3:
When dividing 26 by 51, we get 0 with a remainder of 26.
The next digit of our result is 0. 
Result so far: 10.0
Subtracting 0 from 26 leaves us with 26.
Take the next digit (2) from the dividend and append it to 26, then repeat: 262 / 51

Going ahead to step 4:
51 goes into 262 5 times with a remainder of 7.
The next digit of our result is 5. 
Result so far: 105.0
If we take 255 away from 262, we end up with 7.
Bring next digit (2) of the dividend behind the 7 and repeat the process: 72 / 51

Advancing to step 5:
When dividing 72 by 51, we get 1 with a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 1051.0
The remainder is 21 after subtracting 51 from 72.
Fetch the next digit (8) from the dividend, attach it to 21 and continue: 218 / 51

Let's proceed to step 6:
If we divide 218 by 51, we get 4 and a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 10514.0
If we subtract 204 from 218, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 7:
51 goes into 140 2 times with a remainder of 38.
The number 2 becomes the next digit in our result. 
Result so far: 10514.2
Subtracting 102 from 140 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 8:
If we divide 380 by 51, we get 7 and a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 10514.27
Subtracting 357 from 380 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 9:
The number 51 fits into 230 4 times, leaving a remainder of 26.
Use 4 as the next digit of our solution. 
Result so far: 10514.274
If we subtract 204 from 230, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 10:
260 divided by 51 is 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 10514.2745
If we take 255 away from 260, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 11:
When dividing 50 by 51, we get 0 with a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 10514.2745
Subtracting 0 from 50 leaves us with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Moving on to step 12:
51 goes into 500 9 times with a remainder of 41.
Put 9 as the next digit of the answer. 
Result so far: 10514.274509
Subtract 459 from 500 to get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Going ahead to step 13:
The number 51 fits into 410 8 times, leaving a remainder of 2.
The next digit of our result is 8. 
Result so far: 10514.2745098
Subtract 408 from 410 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 14:
When dividing 20 by 51, we get 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 10514.2745098
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.

The final outcome is 10514.2745098, with a leftover of 2e-08.