We're dividing 271787 by 41 
The aim is to understand the frequency of 41 in 271787.

On to step 1:
When dividing 2 by 41, we get 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 41

On to step 2:
The number 41 fits into 27 0 times, leaving a remainder of 27.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 27, we end up with 27.
Take the next digit (1) from the dividend and append it to 27, then repeat: 271 / 41

On to step 3:
The number 41 fits into 271 6 times, leaving a remainder of 25.
Use 6 as the next digit of our solution. 
Result so far: 6.0
If we subtract 246 from 271, we get 25.
Include the next digit (7) from the dividend after 25, then repeat: 257 / 41

Step 4:
41 goes into 257 6 times with a remainder of 11.
Put 6 as the next digit of the answer. 
Result so far: 66.0
Subtracting 246 from 257 leaves us with 11.
Include the next digit (8) from the dividend after 11, then repeat: 118 / 41

Step 5:
41 goes into 118 2 times with a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 662.0
If we take 82 away from 118, we end up with 36.
Grab the next digit (7) from the dividend, add it to 36, then carry on: 367 / 41

Step 6:
41 goes into 367 8 times with a remainder of 39.
The number 8 becomes the next digit in our result. 
Result so far: 6628.0
Deduct 328 from 367 and we're left with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Let's proceed to step 7:
390 divided by 41 is 9 with a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 6628.9
The remainder is 21 after subtracting 369 from 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 8:
41 goes into 210 5 times with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 6628.95
If we take 205 away from 210, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 9:
The number 41 fits into 50 1 times, leaving a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 6628.951
If we take 41 away from 50, we end up 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.

Let's proceed to step 10:
If we divide 90 by 41, we get 2 and a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 6628.9512
If we subtract 82 from 90, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 11:
If we divide 80 by 41, we get 1 and a remainder of 39.
Put 1 as the next digit of the answer. 
Result so far: 6628.95121
If we take 41 away from 80, we end up with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Let's proceed to step 12:
41 goes into 390 9 times with a remainder of 21.
The next digit of our result is 9. 
Result so far: 6628.951219
If we subtract 369 from 390, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 13:
The number 41 fits into 210 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 6628.9512195
Deduct 205 from 210 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 14:
50 divided by 41 is 1 with a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 6628.95121951
Subtract 41 from 50 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

The final result is 6628.95121951 with a remainder of 9e-09.