231509 divided by 40 
We're looking to find how many times 40 goes into 231509.

Moving on to step 1:
If we divide 2 by 40, we get 0 and a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Bring next digit (3) of the dividend behind the 2 and repeat the process: 23 / 40

Let's proceed to step 2:
40 can be fit into 23 0 times, resulting in a remainder of 23.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 23, we get 23.
Take the next digit (1) from the dividend and append it to 23, then repeat: 231 / 40

On to step 3:
The number 40 fits into 231 5 times, leaving a remainder of 31.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we take 200 away from 231, we end up with 31.
Fetch the next digit (5) from the dividend, attach it to 31 and continue: 315 / 40

Moving on to step 4:
The number 40 fits into 315 7 times, leaving a remainder of 35.
The next digit of our result is 7. 
Result so far: 57.0
Subtract 280 from 315 to get 35.
Append the next digit (0) from the dividend to 35 and continue with: 350 / 40

On to step 5:
40 can be fit into 350 8 times, resulting in a remainder of 30.
The number 8 becomes the next digit in our result. 
Result so far: 578.0
If we subtract 320 from 350, we get 30.
Append the next digit (9) from the dividend to 30 and continue with: 309 / 40

Moving on to step 6:
The number 40 fits into 309 7 times, leaving a remainder of 29.
Put 7 as the next digit of the answer. 
Result so far: 5787.0
If we subtract 280 from 309, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 7:
When dividing 290 by 40, we get 7 with a remainder of 10.
Record the quotient 7 as the next digit in the result. 
Result so far: 5787.7
The remainder is 10 after subtracting 280 from 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
100 divided by 40 is 2 with a remainder of 20.
Put 2 as the next digit of the answer. 
Result so far: 5787.72
If we subtract 80 from 100, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 5787.725
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.

On to step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 5787.725
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.

Moving on to step 11:
0 divided by 40 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 5787.725
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.

The final result is 5787.725 with a remainder of 0.0.