Let's divide 562240 by 51
The aim is to understand the frequency of 51 in 562240.

Step 1:
51 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 51

Step 2:
51 goes into 56 1 times with a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 51 from 56 and we're left with 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 51

On to step 3:
If we divide 52 by 51, we get 1 and a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 11.0
If we take 51 away from 52, we end up with 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 51

Moving on to step 4:
51 goes into 12 0 times with a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 110.0
The remainder is 12 after subtracting 0 from 12.
Grab the next digit (4) from the dividend, add it to 12, then carry on: 124 / 51

Going ahead to step 5:
51 goes into 124 2 times with a remainder of 22.
Write down 2 as next digit of the result. 
Result so far: 1102.0
Deduct 102 from 124 and we're left with 22.
Fetch the next digit (0) from the dividend, attach it to 22 and continue: 220 / 51

Moving on to step 6:
51 goes into 220 4 times with a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 11024.0
If we subtract 204 from 220, we 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.

Moving on to step 7:
When dividing 160 by 51, we get 3 with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 11024.3
Subtract 153 from 160 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 8:
51 can be fit into 70 1 times, resulting in a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 11024.31
Subtracting 51 from 70 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 9:
The number 51 fits into 190 3 times, leaving a remainder of 37.
The next digit of our result is 3. 
Result so far: 11024.313
If we subtract 153 from 190, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Advancing to step 10:
370 divided by 51 is 7 with a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 11024.3137
Deduct 357 from 370 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 11:
If we divide 130 by 51, we get 2 and a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 11024.31372
Subtracting 102 from 130 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 12:
51 goes into 280 5 times with a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 11024.313725
Subtract 255 from 280 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 13:
When dividing 250 by 51, we get 4 with a remainder of 46.
The number 4 becomes the next digit in our result. 
Result so far: 11024.3137254
If we subtract 204 from 250, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 14:
51 can be fit into 460 9 times, resulting in a remainder of 1.
The next digit of our result is 9. 
Result so far: 11024.31372549
The remainder is 1 after subtracting 459 from 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The final outcome is 11024.31372549, with a leftover of 1e-09.