397839 divided by 41 
The aim is to understand the frequency of 41 in 397839.

Going ahead to step 1:
41 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 41

Step 2:
41 can be fit into 39 0 times, resulting in a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Take the next digit (7) from the dividend and append it to 39, then repeat: 397 / 41

Moving on to step 3:
When dividing 397 by 41, we get 9 with a remainder of 28.
Write down 9 as next digit of the result. 
Result so far: 9.0
If we take 369 away from 397, we end up with 28.
Bring next digit (8) of the dividend behind the 28 and repeat the process: 288 / 41

Step 4:
The number 41 fits into 288 7 times, leaving a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 97.0
If we take 287 away from 288, we end up with 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 41

Going ahead to step 5:
When dividing 13 by 41, we get 0 with a remainder of 13.
The next digit of our result is 0. 
Result so far: 970.0
Subtract 0 from 13 to get 13.
Include the next digit (9) from the dividend after 13, then repeat: 139 / 41

Let's proceed to step 6:
139 divided by 41 is 3 with a remainder of 16.
Record the quotient 3 as the next digit in the result. 
Result so far: 9703.0
The remainder is 16 after subtracting 123 from 139.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 7:
If we divide 160 by 41, we get 3 and a remainder of 37.
The next digit of our result is 3. 
Result so far: 9703.3
The remainder is 37 after subtracting 123 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 8:
41 goes into 370 9 times with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 9703.39
Subtract 369 from 370 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 9:
10 divided by 41 is 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 9703.39
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 10:
41 can be fit into 100 2 times, resulting in a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 9703.3902
Deduct 82 from 100 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 11:
When dividing 180 by 41, we get 4 with a remainder of 16.
The next digit of our result is 4. 
Result so far: 9703.39024
Subtract 164 from 180 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 12:
160 divided by 41 is 3 with a remainder of 37.
The number 3 becomes the next digit in our result. 
Result so far: 9703.390243
If we take 123 away from 160, we end up with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 13:
41 can be fit into 370 9 times, resulting in a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 9703.3902439
The remainder is 1 after subtracting 369 from 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 14:
If we divide 10 by 41, we get 0 and a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 9703.3902439
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

After the division, we end up with 9703.3902439 and a remainder of 1e-08.