40904174 divided by 142 
We want to divide 40904174 by 142.

Step 1:
4 divided by 142 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 / 142

Let's proceed to step 2:
If we divide 40 by 142, we get 0 and a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Append the next digit (9) from the dividend to 40 and continue with: 409 / 142

Advancing to step 3:
The number 142 fits into 409 2 times, leaving a remainder of 125.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 284 from 409, we get 125.
Take the next digit (0) from the dividend and append it to 125, then repeat: 1250 / 142

Advancing to step 4:
The number 142 fits into 1250 8 times, leaving a remainder of 114.
Put 8 as the next digit of the answer. 
Result so far: 28.0
Subtracting 1136 from 1250 leaves us with 114.
Bring next digit (4) of the dividend behind the 114 and repeat the process: 1144 / 142

Step 5:
If we divide 1144 by 142, we get 8 and a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 288.0
Deduct 1136 from 1144 and we're left with 8.
Fetch the next digit (1) from the dividend, attach it to 8 and continue: 81 / 142

On to step 6:
142 can be fit into 81 0 times, resulting in a remainder of 81.
Write down 0 as next digit of the result. 
Result so far: 2880.0
Deduct 0 from 81 and we're left with 81.
Append the next digit (7) from the dividend to 81 and continue with: 817 / 142

Going ahead to step 7:
817 divided by 142 is 5 with a remainder of 107.
Write down 5 as next digit of the result. 
Result so far: 28805.0
If we subtract 710 from 817, we get 107.
Bring next digit (4) of the dividend behind the 107 and repeat the process: 1074 / 142

Moving on to step 8:
142 goes into 1074 7 times with a remainder of 80.
The number 7 becomes the next digit in our result. 
Result so far: 288057.0
If we subtract 994 from 1074, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Let's proceed to step 9:
142 goes into 800 5 times with a remainder of 90.
The number 5 becomes the next digit in our result. 
Result so far: 288057.5
Subtract 710 from 800 to get 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Step 10:
142 goes into 900 6 times with a remainder of 48.
Record the quotient 6 as the next digit in the result. 
Result so far: 288057.56
Subtracting 852 from 900 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.

Moving on to step 11:
When dividing 480 by 142, we get 3 with a remainder of 54.
The next digit of our result is 3. 
Result so far: 288057.563
Subtracting 426 from 480 leaves us with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Advancing to step 12:
142 can be fit into 540 3 times, resulting in a remainder of 114.
Use 3 as the next digit of our solution. 
Result so far: 288057.5633
If we subtract 426 from 540, we get 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

The quotient of the division is 288057.5633, and the remainder is 0.00114.