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

Going ahead to step 1:
1 divided by 871 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 871

Moving on to step 2:
15 divided by 871 is 0 with a remainder of 15.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 15, we get 15.
Take the next digit (4) from the dividend and append it to 15, then repeat: 154 / 871

On to step 3:
871 can be fit into 154 0 times, resulting in a remainder of 154.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 154 after subtracting 0 from 154.
Fetch the next digit (9) from the dividend, attach it to 154 and continue: 1549 / 871

Moving on to step 4:
The number 871 fits into 1549 1 times, leaving a remainder of 678.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 871 from 1549 leaves us with 678.
Bring next digit (7) of the dividend behind the 678 and repeat the process: 6787 / 871

On to step 5:
871 can be fit into 6787 7 times, resulting in a remainder of 690.
Put 7 as the next digit of the answer. 
Result so far: 17.0
Subtract 6097 from 6787 to get 690.
Fetch the next digit (7) from the dividend, attach it to 690 and continue: 6907 / 871

On to step 6:
871 can be fit into 6907 7 times, resulting in a remainder of 810.
Record the quotient 7 as the next digit in the result. 
Result so far: 177.0
If we subtract 6097 from 6907, we get 810.
Fetch the next digit (4) from the dividend, attach it to 810 and continue: 8104 / 871

Let's proceed to step 7:
If we divide 8104 by 871, we get 9 and a remainder of 265.
Put 9 as the next digit of the answer. 
Result so far: 1779.0
If we subtract 7839 from 8104, we get 265.
Grab the next digit (6) from the dividend, add it to 265, then carry on: 2656 / 871

Going ahead to step 8:
871 goes into 2656 3 times with a remainder of 43.
Put 3 as the next digit of the answer. 
Result so far: 17793.0
Subtracting 2613 from 2656 leaves us with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Going ahead to step 9:
871 can be fit into 430 0 times, resulting in a remainder of 430.
The next digit of our result is 0. 
Result so far: 17793.0
Deduct 0 from 430 and we're left with 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

Step 10:
The number 871 fits into 4300 4 times, leaving a remainder of 816.
Write down 4 as next digit of the result. 
Result so far: 17793.04
If we take 3484 away from 4300, we end up with 816.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8160, and continue the process.

On to step 11:
The number 871 fits into 8160 9 times, leaving a remainder of 321.
The number 9 becomes the next digit in our result. 
Result so far: 17793.049
Subtracting 7839 from 8160 leaves us with 321.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3210, and continue the process.

Advancing to step 12:
The number 871 fits into 3210 3 times, leaving a remainder of 597.
Write down 3 as next digit of the result. 
Result so far: 17793.0493
The remainder is 597 after subtracting 2613 from 3210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5970, and continue the process.

Step 13:
The number 871 fits into 5970 6 times, leaving a remainder of 744.
Record the quotient 6 as the next digit in the result. 
Result so far: 17793.04936
Subtract 5226 from 5970 to get 744.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7440, and continue the process.

Moving on to step 14:
7440 divided by 871 is 8 with a remainder of 472.
Put 8 as the next digit of the answer. 
Result so far: 17793.049368
Deduct 6968 from 7440 and we're left with 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

On to step 15:
The number 871 fits into 4720 5 times, leaving a remainder of 365.
Put 5 as the next digit of the answer. 
Result so far: 17793.0493685
Deduct 4355 from 4720 and we're left with 365.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3650, and continue the process.

On to step 16:
871 can be fit into 3650 4 times, resulting in a remainder of 166.
The number 4 becomes the next digit in our result. 
Result so far: 17793.04936854
Subtracting 3484 from 3650 leaves us with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

The final result is 17793.04936854 with a remainder of 1.66e-07.