We divide 40829268 by 512
We're looking to find how many times 512 goes into 40829268.

Let's proceed to step 1:
4 divided by 512 is 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 512

Let's proceed to step 2:
512 can be fit into 40 0 times, resulting in a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Append the next digit (8) from the dividend to 40 and continue with: 408 / 512

Going ahead to step 3:
512 goes into 408 0 times with a remainder of 408.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 408 to get 408.
Grab the next digit (2) from the dividend, add it to 408, then carry on: 4082 / 512

Going ahead to step 4:
4082 divided by 512 is 7 with a remainder of 498.
Write down 7 as next digit of the result. 
Result so far: 7.0
Subtract 3584 from 4082 to get 498.
Grab the next digit (9) from the dividend, add it to 498, then carry on: 4989 / 512

Going ahead to step 5:
4989 divided by 512 is 9 with a remainder of 381.
Write down 9 as next digit of the result. 
Result so far: 79.0
Deduct 4608 from 4989 and we're left with 381.
Grab the next digit (2) from the dividend, add it to 381, then carry on: 3812 / 512

Going ahead to step 6:
3812 divided by 512 is 7 with a remainder of 228.
Put 7 as the next digit of the answer. 
Result so far: 797.0
If we take 3584 away from 3812, we end up with 228.
Append the next digit (6) from the dividend to 228 and continue with: 2286 / 512

Step 7:
2286 divided by 512 is 4 with a remainder of 238.
Write down 4 as next digit of the result. 
Result so far: 7974.0
The remainder is 238 after subtracting 2048 from 2286.
Grab the next digit (8) from the dividend, add it to 238, then carry on: 2388 / 512

Going ahead to step 8:
The number 512 fits into 2388 4 times, leaving a remainder of 340.
Record the quotient 4 as the next digit in the result. 
Result so far: 79744.0
The remainder is 340 after subtracting 2048 from 2388.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

On to step 9:
If we divide 3400 by 512, we get 6 and a remainder of 328.
Use 6 as the next digit of our solution. 
Result so far: 79744.6
If we take 3072 away from 3400, we end up with 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

Advancing to step 10:
512 can be fit into 3280 6 times, resulting in a remainder of 208.
The next digit of our result is 6. 
Result so far: 79744.66
Deduct 3072 from 3280 and we're left with 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

After the division, we end up with 79744.66 and a remainder of 0.208.