Let's divide 6524566 by 40
We want to divide 6524566 by 40.

Step 1:
6 divided by 40 is 0 with a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Include the next digit (5) from the dividend after 6, then repeat: 65 / 40

On to step 2:
65 divided by 40 is 1 with a remainder of 25.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 40 from 65, we get 25.
Grab the next digit (2) from the dividend, add it to 25, then carry on: 252 / 40

Going ahead to step 3:
252 divided by 40 is 6 with a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
Subtract 240 from 252 to get 12.
Fetch the next digit (4) from the dividend, attach it to 12 and continue: 124 / 40

Advancing to step 4:
When dividing 124 by 40, we get 3 with a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 163.0
Deduct 120 from 124 and we're left with 4.
Append the next digit (5) from the dividend to 4 and continue with: 45 / 40

On to step 5:
40 goes into 45 1 times with a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 1631.0
Subtracting 40 from 45 leaves us with 5.
Grab the next digit (6) from the dividend, add it to 5, then carry on: 56 / 40

Step 6:
If we divide 56 by 40, we get 1 and a remainder of 16.
Use 1 as the next digit of our solution. 
Result so far: 16311.0
If we subtract 40 from 56, we get 16.
Grab the next digit (6) from the dividend, add it to 16, then carry on: 166 / 40

On to step 7:
The number 40 fits into 166 4 times, leaving a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 163114.0
If we take 160 away from 166, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
60 divided by 40 is 1 with a remainder of 20.
Record the quotient 1 as the next digit in the result. 
Result so far: 163114.1
If we take 40 away from 60, we end up 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.

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: 163114.15
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.

On to step 10:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 163114.15
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.

Let's proceed to step 11:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 163114.15
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.

Our division results in 163114.15 with a remaining 0.0.