We divide 397151 by 41
The aim is to understand the frequency of 41 in 397151.

Step 1:
When dividing 3 by 41, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 41

Step 2:
39 divided by 41 is 0 with a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 39 after subtracting 0 from 39.
Fetch the next digit (7) from the dividend, attach it to 39 and continue: 397 / 41

Moving on to step 3:
41 goes into 397 9 times with a remainder of 28.
Use 9 as the next digit of our solution. 
Result so far: 9.0
If we subtract 369 from 397, we get 28.
Fetch the next digit (1) from the dividend, attach it to 28 and continue: 281 / 41

Going ahead to step 4:
281 divided by 41 is 6 with a remainder of 35.
Write down 6 as next digit of the result. 
Result so far: 96.0
Subtract 246 from 281 to get 35.
Fetch the next digit (5) from the dividend, attach it to 35 and continue: 355 / 41

Advancing to step 5:
If we divide 355 by 41, we get 8 and a remainder of 27.
Record the quotient 8 as the next digit in the result. 
Result so far: 968.0
Deduct 328 from 355 and we're left with 27.
Fetch the next digit (1) from the dividend, attach it to 27 and continue: 271 / 41

Step 6:
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: 9686.0
Deduct 246 from 271 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 7:
250 divided by 41 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 9686.6
If we take 246 away from 250, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 8:
If we divide 40 by 41, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 9686.6
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 9:
When dividing 400 by 41, we get 9 with a remainder of 31.
Write down 9 as next digit of the result. 
Result so far: 9686.609
If we subtract 369 from 400, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 10:
If we divide 310 by 41, we get 7 and a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 9686.6097
The remainder is 23 after subtracting 287 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 11:
The number 41 fits into 230 5 times, leaving a remainder of 25.
The next digit of our result is 5. 
Result so far: 9686.60975
The remainder is 25 after subtracting 205 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 12:
When dividing 250 by 41, we get 6 with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 9686.609756
The remainder is 4 after subtracting 246 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 13:
41 goes into 40 0 times with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 9686.609756
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 14:
41 goes into 400 9 times with a remainder of 31.
The number 9 becomes the next digit in our result. 
Result so far: 9686.60975609
The remainder is 31 after subtracting 369 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Our division results in 9686.60975609 with a remaining 3.1e-08.