Let's divide 40395 by 46
The aim is to understand the frequency of 46 in 40395.

On to step 1:
46 can be fit into 4 0 times, resulting in a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 46

Going ahead to step 2:
When dividing 40 by 46, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Take the next digit (3) from the dividend and append it to 40, then repeat: 403 / 46

Advancing to step 3:
46 can be fit into 403 8 times, resulting in a remainder of 35.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtract 368 from 403 to get 35.
Fetch the next digit (9) from the dividend, attach it to 35 and continue: 359 / 46

Step 4:
359 divided by 46 is 7 with a remainder of 37.
Write down 7 as next digit of the result. 
Result so far: 87.0
If we take 322 away from 359, we end up with 37.
Fetch the next digit (5) from the dividend, attach it to 37 and continue: 375 / 46

Let's proceed to step 5:
46 can be fit into 375 8 times, resulting in a remainder of 7.
The number 8 becomes the next digit in our result. 
Result so far: 878.0
Subtracting 368 from 375 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.

Going ahead to step 6:
46 goes into 70 1 times with a remainder of 24.
The number 1 becomes the next digit in our result. 
Result so far: 878.1
Subtracting 46 from 70 leaves us with 24.
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 7:
46 can be fit into 240 5 times, resulting in a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 878.15
The remainder is 10 after subtracting 230 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
46 can be fit into 100 2 times, resulting in a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 878.152
Subtract 92 from 100 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 9:
46 can be fit into 80 1 times, resulting in a remainder of 34.
Put 1 as the next digit of the answer. 
Result so far: 878.1521
The remainder is 34 after subtracting 46 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 10:
The number 46 fits into 340 7 times, leaving a remainder of 18.
Record the quotient 7 as the next digit in the result. 
Result so far: 878.15217
Subtract 322 from 340 to 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.

Going ahead to step 11:
46 goes into 180 3 times with a remainder of 42.
Use 3 as the next digit of our solution. 
Result so far: 878.152173
Subtract 138 from 180 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 12:
The number 46 fits into 420 9 times, leaving a remainder of 6.
Write down 9 as next digit of the result. 
Result so far: 878.1521739
If we take 414 away from 420, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 13:
60 divided by 46 is 1 with a remainder of 14.
The next digit of our result is 1. 
Result so far: 878.15217391
If we subtract 46 from 60, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

In conclusion, the division gives 878.15217391 with a balance of 1.4e-08.