We're dividing 50955318 by 871 
The aim is to understand the frequency of 871 in 50955318.

Step 1:
If we divide 5 by 871, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 871

Advancing to step 2:
871 goes into 50 0 times with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Include the next digit (9) from the dividend after 50, then repeat: 509 / 871

Let's proceed to step 3:
871 goes into 509 0 times with a remainder of 509.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 509 after subtracting 0 from 509.
Fetch the next digit (5) from the dividend, attach it to 509 and continue: 5095 / 871

On to step 4:
When dividing 5095 by 871, we get 5 with a remainder of 740.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we take 4355 away from 5095, we end up with 740.
Take the next digit (5) from the dividend and append it to 740, then repeat: 7405 / 871

Advancing to step 5:
If we divide 7405 by 871, we get 8 and a remainder of 437.
Use 8 as the next digit of our solution. 
Result so far: 58.0
Deduct 6968 from 7405 and we're left with 437.
Take the next digit (3) from the dividend and append it to 437, then repeat: 4373 / 871

Advancing to step 6:
4373 divided by 871 is 5 with a remainder of 18.
Use 5 as the next digit of our solution. 
Result so far: 585.0
Subtracting 4355 from 4373 leaves us with 18.
Fetch the next digit (1) from the dividend, attach it to 18 and continue: 181 / 871

Advancing to step 7:
When dividing 181 by 871, we get 0 with a remainder of 181.
The number 0 becomes the next digit in our result. 
Result so far: 5850.0
Subtract 0 from 181 to get 181.
Grab the next digit (8) from the dividend, add it to 181, then carry on: 1818 / 871

Let's proceed to step 8:
1818 divided by 871 is 2 with a remainder of 76.
Write down 2 as next digit of the result. 
Result so far: 58502.0
Deduct 1742 from 1818 and we're left with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Advancing to step 9:
871 can be fit into 760 0 times, resulting in a remainder of 760.
Record the quotient 0 as the next digit in the result. 
Result so far: 58502.0
Subtracting 0 from 760 leaves us with 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7600, and continue the process.

Moving on to step 10:
7600 divided by 871 is 8 with a remainder of 632.
Use 8 as the next digit of our solution. 
Result so far: 58502.08
Subtracting 6968 from 7600 leaves us with 632.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6320, and continue the process.

On to step 11:
If we divide 6320 by 871, we get 7 and a remainder of 223.
Put 7 as the next digit of the answer. 
Result so far: 58502.087
If we subtract 6097 from 6320, we get 223.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2230, and continue the process.

Let's proceed to step 12:
2230 divided by 871 is 2 with a remainder of 488.
Record the quotient 2 as the next digit in the result. 
Result so far: 58502.0872
Subtracting 1742 from 2230 leaves us with 488.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4880, and continue the process.

Going ahead to step 13:
871 can be fit into 4880 5 times, resulting in a remainder of 525.
Write down 5 as next digit of the result. 
Result so far: 58502.08725
Subtract 4355 from 4880 to get 525.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5250, and continue the process.

Going ahead to step 14:
871 can be fit into 5250 6 times, resulting in a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 58502.087256
If we take 5226 away from 5250, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 15:
871 can be fit into 240 0 times, resulting in a remainder of 240.
Use 0 as the next digit of our solution. 
Result so far: 58502.087256
The remainder is 240 after subtracting 0 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Step 16:
871 can be fit into 2400 2 times, resulting in a remainder of 658.
The number 2 becomes the next digit in our result. 
Result so far: 58502.08725602
The remainder is 658 after subtracting 1742 from 2400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6580, and continue the process.

After the division, we end up with 58502.08725602 and a remainder of 6.58e-07.