We divide 51417514 by 167
The aim is to understand the frequency of 167 in 51417514.

Advancing to step 1:
When dividing 5 by 167, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 167

Going ahead to step 2:
167 can be fit into 51 0 times, resulting in a remainder of 51.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Include the next digit (4) from the dividend after 51, then repeat: 514 / 167

Going ahead to step 3:
167 can be fit into 514 3 times, resulting in a remainder of 13.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we take 501 away from 514, we end up with 13.
Fetch the next digit (1) from the dividend, attach it to 13 and continue: 131 / 167

Step 4:
The number 167 fits into 131 0 times, leaving a remainder of 131.
Write down 0 as next digit of the result. 
Result so far: 30.0
Deduct 0 from 131 and we're left with 131.
Fetch the next digit (7) from the dividend, attach it to 131 and continue: 1317 / 167

Let's proceed to step 5:
1317 divided by 167 is 7 with a remainder of 148.
The number 7 becomes the next digit in our result. 
Result so far: 307.0
If we take 1169 away from 1317, we end up with 148.
Bring next digit (5) of the dividend behind the 148 and repeat the process: 1485 / 167

Let's proceed to step 6:
The number 167 fits into 1485 8 times, leaving a remainder of 149.
Record the quotient 8 as the next digit in the result. 
Result so far: 3078.0
The remainder is 149 after subtracting 1336 from 1485.
Take the next digit (1) from the dividend and append it to 149, then repeat: 1491 / 167

Step 7:
When dividing 1491 by 167, we get 8 with a remainder of 155.
Put 8 as the next digit of the answer. 
Result so far: 30788.0
Deduct 1336 from 1491 and we're left with 155.
Grab the next digit (4) from the dividend, add it to 155, then carry on: 1554 / 167

On to step 8:
If we divide 1554 by 167, we get 9 and a remainder of 51.
Put 9 as the next digit of the answer. 
Result so far: 307889.0
If we subtract 1503 from 1554, we get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Step 9:
510 divided by 167 is 3 with a remainder of 9.
Use 3 as the next digit of our solution. 
Result so far: 307889.3
Deduct 501 from 510 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 10:
If we divide 90 by 167, we get 0 and a remainder of 90.
Write down 0 as next digit of the result. 
Result so far: 307889.3
The remainder is 90 after subtracting 0 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Going ahead to step 11:
If we divide 900 by 167, we get 5 and a remainder of 65.
The number 5 becomes the next digit in our result. 
Result so far: 307889.305
If we take 835 away from 900, we end up with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Going ahead to step 12:
167 can be fit into 650 3 times, resulting in a remainder of 149.
The number 3 becomes the next digit in our result. 
Result so far: 307889.3053
Subtracting 501 from 650 leaves us with 149.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1490, and continue the process.

Step 13:
The number 167 fits into 1490 8 times, leaving a remainder of 154.
Record the quotient 8 as the next digit in the result. 
Result so far: 307889.30538
Deduct 1336 from 1490 and we're left with 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Advancing to step 14:
1540 divided by 167 is 9 with a remainder of 37.
The next digit of our result is 9. 
Result so far: 307889.305389
If we take 1503 away from 1540, we end up with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 15:
167 can be fit into 370 2 times, resulting in a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 307889.3053892
If we subtract 334 from 370, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 16:
360 divided by 167 is 2 with a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 307889.30538922
Deduct 334 from 360 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

In conclusion, the division gives 307889.30538922 with a balance of 2.6e-08.