40791 ÷ 43 
The aim is to understand the frequency of 43 in 40791.

Let's proceed to step 1:
The number 43 fits into 4 0 times, leaving a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 43

On to step 2:
If we divide 40 by 43, we get 0 and a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Take the next digit (7) from the dividend and append it to 40, then repeat: 407 / 43

Moving on to step 3:
43 goes into 407 9 times with a remainder of 20.
Write down 9 as next digit of the result. 
Result so far: 9.0
Subtracting 387 from 407 leaves us with 20.
Bring next digit (9) of the dividend behind the 20 and repeat the process: 209 / 43

Moving on to step 4:
The number 43 fits into 209 4 times, leaving a remainder of 37.
Use 4 as the next digit of our solution. 
Result so far: 94.0
The remainder is 37 after subtracting 172 from 209.
Grab the next digit (1) from the dividend, add it to 37, then carry on: 371 / 43

Moving on to step 5:
43 goes into 371 8 times with a remainder of 27.
Use 8 as the next digit of our solution. 
Result so far: 948.0
Subtract 344 from 371 to 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 6:
270 divided by 43 is 6 with a remainder of 12.
The next digit of our result is 6. 
Result so far: 948.6
Subtract 258 from 270 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 7:
The number 43 fits into 120 2 times, leaving a remainder of 34.
The next digit of our result is 2. 
Result so far: 948.62
Deduct 86 from 120 and we're left with 34.
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 8:
43 goes into 340 7 times with a remainder of 39.
Write down 7 as next digit of the result. 
Result so far: 948.627
The remainder is 39 after subtracting 301 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

On to step 9:
43 can be fit into 390 9 times, resulting in a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 948.6279
Subtract 387 from 390 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.

Moving on to step 10:
43 can be fit into 30 0 times, resulting in a remainder of 30.
The next digit of our result is 0. 
Result so far: 948.6279
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 11:
The number 43 fits into 300 6 times, leaving a remainder of 42.
The number 6 becomes the next digit in our result. 
Result so far: 948.627906
Deduct 258 from 300 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 12:
The number 43 fits into 420 9 times, leaving a remainder of 33.
Record the quotient 9 as the next digit in the result. 
Result so far: 948.6279069
Deduct 387 from 420 and we're left with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Moving on to step 13:
43 goes into 330 7 times with a remainder of 29.
Write down 7 as next digit of the result. 
Result so far: 948.62790697
Deduct 301 from 330 and we're left 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.

The quotient of the division is 948.62790697, and the remainder is 2.9e-08.