We divide 101016 by 40
Let's see how many times 40 fits into 101016.

Let's proceed to step 1:
When dividing 1 by 40, we get 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Bring next digit (0) of the dividend behind the 1 and repeat the process: 10 / 40

Let's proceed to step 2:
When dividing 10 by 40, we get 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 10 after subtracting 0 from 10.
Include the next digit (1) from the dividend after 10, then repeat: 101 / 40

Moving on to step 3:
If we divide 101 by 40, we get 2 and a remainder of 21.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 21 after subtracting 80 from 101.
Take the next digit (0) from the dividend and append it to 21, then repeat: 210 / 40

Advancing to step 4:
210 divided by 40 is 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 25.0
If we subtract 200 from 210, we get 10.
Bring next digit (1) of the dividend behind the 10 and repeat the process: 101 / 40

Moving on to step 5:
40 can be fit into 101 2 times, resulting in a remainder of 21.
The next digit of our result is 2. 
Result so far: 252.0
Subtracting 80 from 101 leaves us with 21.
Bring next digit (6) of the dividend behind the 21 and repeat the process: 216 / 40

Moving on to step 6:
216 divided by 40 is 5 with a remainder of 16.
Use 5 as the next digit of our solution. 
Result so far: 2525.0
If we subtract 200 from 216, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 7:
If we divide 160 by 40, we get 4 and a remainder of 0.
The next digit of our result is 4. 
Result so far: 2525.4
The remainder is 0 after subtracting 160 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 2525.4
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.

Step 9:
0 divided by 40 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 2525.4
If we take 0 away from 0, we end up 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.

Our division results in 2525.4 with a remaining 0.0.