We divide 40516 by 16
We're looking to find how many times 16 goes into 40516.

Advancing to step 1:
If we divide 4 by 16, we get 0 and a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 16

Advancing to step 2:
The number 16 fits into 40 2 times, leaving a remainder of 8.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 32 from 40 to get 8.
Take the next digit (5) from the dividend and append it to 8, then repeat: 85 / 16

Moving on to step 3:
When dividing 85 by 16, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 25.0
The remainder is 5 after subtracting 80 from 85.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 16

On to step 4:
If we divide 51 by 16, we get 3 and a remainder of 3.
The next digit of our result is 3. 
Result so far: 253.0
If we take 48 away from 51, we end up with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 16

Step 5:
16 can be fit into 36 2 times, resulting in a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 2532.0
Deduct 32 from 36 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 6:
The number 16 fits into 40 2 times, leaving a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 2532.2
If we subtract 32 from 40, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 7:
16 goes into 80 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 2532.25
The remainder is 0 after subtracting 80 from 80.
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 8:
If we divide 0 by 16, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 2532.25
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 9:
0 divided by 16 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 2532.25
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 2532.25 with a remaining 0.0.