40104 ÷ 76 
We're looking to find how many times 76 goes into 40104.

Going ahead to step 1:
When dividing 4 by 76, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 76

Advancing to step 2:
When dividing 40 by 76, we get 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Bring next digit (1) of the dividend behind the 40 and repeat the process: 401 / 76

Advancing to step 3:
76 can be fit into 401 5 times, resulting in a remainder of 21.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Deduct 380 from 401 and we're left with 21.
Grab the next digit (0) from the dividend, add it to 21, then carry on: 210 / 76

Moving on to step 4:
76 goes into 210 2 times with a remainder of 58.
Put 2 as the next digit of the answer. 
Result so far: 52.0
If we take 152 away from 210, we end up with 58.
Take the next digit (4) from the dividend and append it to 58, then repeat: 584 / 76

Advancing to step 5:
When dividing 584 by 76, we get 7 with a remainder of 52.
The number 7 becomes the next digit in our result. 
Result so far: 527.0
Subtract 532 from 584 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

On to step 6:
The number 76 fits into 520 6 times, leaving a remainder of 64.
Put 6 as the next digit of the answer. 
Result so far: 527.6
Subtracting 456 from 520 leaves us with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Let's proceed to step 7:
If we divide 640 by 76, we get 8 and a remainder of 32.
Use 8 as the next digit of our solution. 
Result so far: 527.68
The remainder is 32 after subtracting 608 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 8:
76 can be fit into 320 4 times, resulting in a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 527.684
If we take 304 away from 320, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 9:
76 goes into 160 2 times with a remainder of 8.
The next digit of our result is 2. 
Result so far: 527.6842
Subtract 152 from 160 to 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.

Moving on to step 10:
76 goes into 80 1 times with a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 527.68421
If we take 76 away from 80, we end up 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.

Let's proceed to step 11:
76 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 527.68421
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 12:
400 divided by 76 is 5 with a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 527.6842105
If we take 380 away from 400, 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.

On to step 13:
76 goes into 200 2 times with a remainder of 48.
Write down 2 as next digit of the result. 
Result so far: 527.68421052
Subtracting 152 from 200 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

The quotient of the division is 527.68421052, and the remainder is 4.8e-08.