We divide 162817 by 51
The aim is to understand the frequency of 51 in 162817.

On to step 1:
The number 51 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 51

Moving on to step 2:
51 can be fit into 16 0 times, resulting in a remainder of 16.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 16 and we're left with 16.
Fetch the next digit (2) from the dividend, attach it to 16 and continue: 162 / 51

Let's proceed to step 3:
51 can be fit into 162 3 times, resulting in a remainder of 9.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 153 from 162 leaves us with 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 51

Advancing to step 4:
98 divided by 51 is 1 with a remainder of 47.
Record the quotient 1 as the next digit in the result. 
Result so far: 31.0
Subtract 51 from 98 to get 47.
Include the next digit (1) from the dividend after 47, then repeat: 471 / 51

Going ahead to step 5:
When dividing 471 by 51, we get 9 with a remainder of 12.
Record the quotient 9 as the next digit in the result. 
Result so far: 319.0
Deduct 459 from 471 and we're left with 12.
Include the next digit (7) from the dividend after 12, then repeat: 127 / 51

On to step 6:
51 can be fit into 127 2 times, resulting in a remainder of 25.
Use 2 as the next digit of our solution. 
Result so far: 3192.0
Subtracting 102 from 127 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 7:
51 can be fit into 250 4 times, resulting in a remainder of 46.
Use 4 as the next digit of our solution. 
Result so far: 3192.4
Subtract 204 from 250 to 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 8:
51 can be fit into 460 9 times, resulting in a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 3192.49
Deduct 459 from 460 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 9:
51 can be fit into 10 0 times, resulting in a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 3192.49
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 10:
51 can be fit into 100 1 times, resulting in a remainder of 49.
The next digit of our result is 1. 
Result so far: 3192.4901
Subtracting 51 from 100 leaves us with 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Going ahead to step 11:
When dividing 490 by 51, we get 9 with a remainder of 31.
The number 9 becomes the next digit in our result. 
Result so far: 3192.49019
If we take 459 away from 490, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 12:
If we divide 310 by 51, we get 6 and a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 3192.490196
Subtracting 306 from 310 leaves us 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.

On to step 13:
51 can be fit into 40 0 times, resulting in a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 3192.490196
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 14:
51 can be fit into 400 7 times, resulting in a remainder of 43.
Write down 7 as next digit of the result. 
Result so far: 3192.49019607
If we subtract 357 from 400, we get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

The quotient of the division is 3192.49019607, and the remainder is 4.3e-08.