Let's divide 59223 by 40
The aim is to understand the frequency of 40 in 59223.

Advancing to step 1:
40 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 40

Step 2:
40 goes into 59 1 times with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 40 from 59 and we're left with 19.
Append the next digit (2) from the dividend to 19 and continue with: 192 / 40

Let's proceed to step 3:
40 goes into 192 4 times with a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 14.0
Deduct 160 from 192 and we're left with 32.
Grab the next digit (2) from the dividend, add it to 32, then carry on: 322 / 40

Let's proceed to step 4:
322 divided by 40 is 8 with a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 148.0
Subtract 320 from 322 to get 2.
Grab the next digit (3) from the dividend, add it to 2, then carry on: 23 / 40

Moving on to step 5:
When dividing 23 by 40, we get 0 with a remainder of 23.
Put 0 as the next digit of the answer. 
Result so far: 1480.0
Subtract 0 from 23 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 6:
40 goes into 230 5 times with a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 1480.5
If we take 200 away from 230, 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.

Step 7:
40 goes into 300 7 times with a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 1480.57
Subtracting 280 from 300 leaves us 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.

On to step 8:
40 goes into 200 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 1480.575
The remainder is 0 after subtracting 200 from 200.
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 9:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 1480.575
If we subtract 0 from 0, 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.

Step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 1480.575
Subtract 0 from 0 to 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.

The final outcome is 1480.575, with a leftover of 0.0.