809337 divided by 40 
The aim is to understand the frequency of 40 in 809337.

On to step 1:
8 divided by 40 is 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Include the next digit (0) from the dividend after 8, then repeat: 80 / 40

Going ahead to step 2:
40 can be fit into 80 2 times, resulting in a remainder of 0.
The next digit of our result is 2. 
Result so far: 2.0
If we take 80 away from 80, we end up with 0.
Append the next digit (9) from the dividend to 0 and continue with: 9 / 40

Advancing to step 3:
When dividing 9 by 40, we get 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 20.0
The remainder is 9 after subtracting 0 from 9.
Bring next digit (3) of the dividend behind the 9 and repeat the process: 93 / 40

Let's proceed to step 4:
40 goes into 93 2 times with a remainder of 13.
Record the quotient 2 as the next digit in the result. 
Result so far: 202.0
The remainder is 13 after subtracting 80 from 93.
Bring next digit (3) of the dividend behind the 13 and repeat the process: 133 / 40

Going ahead to step 5:
When dividing 133 by 40, we get 3 with a remainder of 13.
The next digit of our result is 3. 
Result so far: 2023.0
Subtracting 120 from 133 leaves us with 13.
Grab the next digit (7) from the dividend, add it to 13, then carry on: 137 / 40

Let's proceed to step 6:
If we divide 137 by 40, we get 3 and a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 20233.0
If we subtract 120 from 137, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 7:
When dividing 170 by 40, we get 4 with a remainder of 10.
Write down 4 as next digit of the result. 
Result so far: 20233.4
Deduct 160 from 170 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
40 goes into 100 2 times with a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 20233.42
Deduct 80 from 100 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.

Let's proceed to step 9:
200 divided by 40 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 20233.425
Subtracting 200 from 200 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.

Moving on to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 20233.425
Deduct 0 from 0 and we're left 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.

Going ahead to step 11:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 20233.425
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 20233.425, and the remainder is 0.0.