5867817 divided by 171 
The aim is to understand the frequency of 171 in 5867817.

Step 1:
The number 171 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 171

Advancing to step 2:
171 can be fit into 58 0 times, resulting in a remainder of 58.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 58 to get 58.
Append the next digit (6) from the dividend to 58 and continue with: 586 / 171

Going ahead to step 3:
171 can be fit into 586 3 times, resulting in a remainder of 73.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Deduct 513 from 586 and we're left with 73.
Fetch the next digit (7) from the dividend, attach it to 73 and continue: 737 / 171

Advancing to step 4:
737 divided by 171 is 4 with a remainder of 53.
The number 4 becomes the next digit in our result. 
Result so far: 34.0
Deduct 684 from 737 and we're left with 53.
Grab the next digit (8) from the dividend, add it to 53, then carry on: 538 / 171

On to step 5:
The number 171 fits into 538 3 times, leaving a remainder of 25.
The number 3 becomes the next digit in our result. 
Result so far: 343.0
Deduct 513 from 538 and we're left with 25.
Include the next digit (1) from the dividend after 25, then repeat: 251 / 171

On to step 6:
251 divided by 171 is 1 with a remainder of 80.
Record the quotient 1 as the next digit in the result. 
Result so far: 3431.0
If we subtract 171 from 251, we get 80.
Fetch the next digit (7) from the dividend, attach it to 80 and continue: 807 / 171

Advancing to step 7:
When dividing 807 by 171, we get 4 with a remainder of 123.
The number 4 becomes the next digit in our result. 
Result so far: 34314.0
The remainder is 123 after subtracting 684 from 807.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

On to step 8:
When dividing 1230 by 171, we get 7 with a remainder of 33.
Put 7 as the next digit of the answer. 
Result so far: 34314.7
Subtracting 1197 from 1230 leaves us with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Step 9:
171 goes into 330 1 times with a remainder of 159.
Put 1 as the next digit of the answer. 
Result so far: 34314.71
Subtract 171 from 330 to get 159.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1590, and continue the process.

Let's proceed to step 10:
If we divide 1590 by 171, we get 9 and a remainder of 51.
Write down 9 as next digit of the result. 
Result so far: 34314.719
The remainder is 51 after subtracting 1539 from 1590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Step 11:
When dividing 510 by 171, we get 2 with a remainder of 168.
The next digit of our result is 2. 
Result so far: 34314.7192
Subtract 342 from 510 to get 168.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1680, and continue the process.

Going ahead to step 12:
1680 divided by 171 is 9 with a remainder of 141.
Use 9 as the next digit of our solution. 
Result so far: 34314.71929
Subtract 1539 from 1680 to get 141.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1410, and continue the process.

Going ahead to step 13:
If we divide 1410 by 171, we get 8 and a remainder of 42.
The number 8 becomes the next digit in our result. 
Result so far: 34314.719298
Deduct 1368 from 1410 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Moving on to step 14:
When dividing 420 by 171, we get 2 with a remainder of 78.
Write down 2 as next digit of the result. 
Result so far: 34314.7192982
Deduct 342 from 420 and we're left with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Let's proceed to step 15:
171 can be fit into 780 4 times, resulting in a remainder of 96.
Write down 4 as next digit of the result. 
Result so far: 34314.71929824
Subtract 684 from 780 to get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

The quotient of the division is 34314.71929824, and the remainder is 9.6e-08.