We look at the division of 9838788 by 41 
The aim is to understand the frequency of 41 in 9838788.

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

On to step 2:
The number 41 fits into 98 2 times, leaving a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 82 from 98 leaves us with 16.
Bring next digit (3) of the dividend behind the 16 and repeat the process: 163 / 41

Advancing to step 3:
When dividing 163 by 41, we get 3 with a remainder of 40.
Write down 3 as next digit of the result. 
Result so far: 23.0
If we subtract 123 from 163, we get 40.
Take the next digit (8) from the dividend and append it to 40, then repeat: 408 / 41

Let's proceed to step 4:
408 divided by 41 is 9 with a remainder of 39.
Use 9 as the next digit of our solution. 
Result so far: 239.0
If we subtract 369 from 408, we get 39.
Fetch the next digit (7) from the dividend, attach it to 39 and continue: 397 / 41

Going ahead to step 5:
If we divide 397 by 41, we get 9 and a remainder of 28.
Put 9 as the next digit of the answer. 
Result so far: 2399.0
If we take 369 away from 397, we end up with 28.
Take the next digit (8) from the dividend and append it to 28, then repeat: 288 / 41

Going ahead to step 6:
41 goes into 288 7 times with a remainder of 1.
The next digit of our result is 7. 
Result so far: 23997.0
Deduct 287 from 288 and we're left with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 41

Step 7:
The number 41 fits into 18 0 times, leaving a remainder of 18.
The next digit of our result is 0. 
Result so far: 239970.0
If we subtract 0 from 18, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 8:
The number 41 fits into 180 4 times, leaving a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 239970.4
The remainder is 16 after subtracting 164 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 9:
160 divided by 41 is 3 with a remainder of 37.
Put 3 as the next digit of the answer. 
Result so far: 239970.43
If we subtract 123 from 160, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Advancing to step 10:
When dividing 370 by 41, we get 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 239970.439
If we subtract 369 from 370, we 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.

On to step 11:
When dividing 10 by 41, we get 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 239970.439
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 12:
100 divided by 41 is 2 with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 239970.43902
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.

Going ahead to step 13:
When dividing 180 by 41, we get 4 with a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 239970.439024
If we subtract 164 from 180, we 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.

Step 14:
If we divide 160 by 41, we get 3 and a remainder of 37.
Use 3 as the next digit of our solution. 
Result so far: 239970.4390243
If we subtract 123 from 160, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Going ahead to step 15:
The number 41 fits into 370 9 times, leaving a remainder of 1.
The next digit of our result is 9. 
Result so far: 239970.43902439
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.

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