Let's divide 162797 by 41
The aim is to understand the frequency of 41 in 162797.

On to step 1:
The number 41 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 41

Going ahead to step 2:
41 can be fit into 16 0 times, resulting in a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 16 and we're left with 16.
Include the next digit (2) from the dividend after 16, then repeat: 162 / 41

Advancing to step 3:
The number 41 fits into 162 3 times, leaving a remainder of 39.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we take 123 away from 162, we end up with 39.
Include the next digit (7) from the dividend after 39, then repeat: 397 / 41

Let's proceed to step 4:
41 can be fit into 397 9 times, resulting in a remainder of 28.
Put 9 as the next digit of the answer. 
Result so far: 39.0
Deduct 369 from 397 and we're left with 28.
Include the next digit (9) from the dividend after 28, then repeat: 289 / 41

On to step 5:
If we divide 289 by 41, we get 7 and a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 397.0
Deduct 287 from 289 and we're left with 2.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 41

On to step 6:
41 goes into 27 0 times with a remainder of 27.
Use 0 as the next digit of our solution. 
Result so far: 3970.0
If we subtract 0 from 27, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 7:
When dividing 270 by 41, we get 6 with a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 3970.6
The remainder is 24 after subtracting 246 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 8:
41 can be fit into 240 5 times, resulting in a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 3970.65
If we take 205 away from 240, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 9:
If we divide 350 by 41, we get 8 and a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 3970.658
If we take 328 away from 350, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 10:
41 goes into 220 5 times with a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 3970.6585
Subtract 205 from 220 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 11:
150 divided by 41 is 3 with a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 3970.65853
Deduct 123 from 150 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 12:
41 goes into 270 6 times with a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 3970.658536
The remainder is 24 after subtracting 246 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 13:
41 goes into 240 5 times with a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 3970.6585365
The remainder is 35 after subtracting 205 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 14:
350 divided by 41 is 8 with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 3970.65853658
Deduct 328 from 350 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The final outcome is 3970.65853658, with a leftover of 2.2e-08.