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

Going ahead to step 1:
The number 41 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (2) from the dividend, attach it to 5 and continue: 52 / 41

Let's proceed to step 2:
If we divide 52 by 41, we get 1 and a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 41 from 52 leaves us with 11.
Grab the next digit (0) from the dividend, add it to 11, then carry on: 110 / 41

Moving on to step 3:
When dividing 110 by 41, we get 2 with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtracting 82 from 110 leaves us with 28.
Bring next digit (7) of the dividend behind the 28 and repeat the process: 287 / 41

On to step 4:
41 goes into 287 7 times with a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 127.0
Subtracting 287 from 287 leaves us with 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 41

On to step 5:
41 can be fit into 9 0 times, resulting in a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 1270.0
Deduct 0 from 9 and we're left with 9.
Bring next digit (5) of the dividend behind the 9 and repeat the process: 95 / 41

On to step 6:
If we divide 95 by 41, we get 2 and a remainder of 13.
The next digit of our result is 2. 
Result so far: 12702.0
Subtract 82 from 95 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 7:
41 can be fit into 130 3 times, resulting in a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 12702.3
Subtract 123 from 130 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 8:
41 can be fit into 70 1 times, resulting in a remainder of 29.
The next digit of our result is 1. 
Result so far: 12702.31
Subtracting 41 from 70 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 9:
41 can be fit into 290 7 times, resulting in a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 12702.317
Subtract 287 from 290 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 10:
When dividing 30 by 41, we get 0 with a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 12702.317
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 11:
If we divide 300 by 41, we get 7 and a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 12702.31707
Subtract 287 from 300 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 12:
If we divide 130 by 41, we get 3 and a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 12702.317073
Subtracting 123 from 130 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 13:
The number 41 fits into 70 1 times, leaving a remainder of 29.
Put 1 as the next digit of the answer. 
Result so far: 12702.3170731
The remainder is 29 after subtracting 41 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 14:
When dividing 290 by 41, we get 7 with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 12702.31707317
If we subtract 287 from 290, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

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