479983 ÷ 40 
The aim is to understand the frequency of 40 in 479983.

Step 1:
The number 40 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 40

On to step 2:
47 divided by 40 is 1 with a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 7 after subtracting 40 from 47.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 40

Going ahead to step 3:
The number 40 fits into 79 1 times, leaving a remainder of 39.
The next digit of our result is 1. 
Result so far: 11.0
If we subtract 40 from 79, we get 39.
Grab the next digit (9) from the dividend, add it to 39, then carry on: 399 / 40

Moving on to step 4:
399 divided by 40 is 9 with a remainder of 39.
The number 9 becomes the next digit in our result. 
Result so far: 119.0
The remainder is 39 after subtracting 360 from 399.
Fetch the next digit (8) from the dividend, attach it to 39 and continue: 398 / 40

Moving on to step 5:
40 goes into 398 9 times with a remainder of 38.
Write down 9 as next digit of the result. 
Result so far: 1199.0
Subtracting 360 from 398 leaves us with 38.
Grab the next digit (3) from the dividend, add it to 38, then carry on: 383 / 40

Advancing to step 6:
40 goes into 383 9 times with a remainder of 23.
Use 9 as the next digit of our solution. 
Result so far: 11999.0
Subtracting 360 from 383 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 7:
40 can be fit into 230 5 times, resulting in a remainder of 30.
The next digit of our result is 5. 
Result so far: 11999.5
Subtract 200 from 230 to 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 8:
When dividing 300 by 40, we get 7 with a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 11999.57
Deduct 280 from 300 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 9:
40 goes into 200 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 11999.575
If we subtract 200 from 200, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 11999.575
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 11:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 11999.575
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 11999.575, and the remainder is 0.0.