40436298 divided by 8 
We want to divide 40436298 by 8.

Advancing to step 1:
8 goes into 4 0 times with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 8

Advancing to step 2:
40 divided by 8 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 0 after subtracting 40 from 40.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 8

Let's proceed to step 3:
If we divide 4 by 8, we get 0 and a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 50.0
Subtract 0 from 4 to get 4.
Include the next digit (3) from the dividend after 4, then repeat: 43 / 8

Let's proceed to step 4:
8 can be fit into 43 5 times, resulting in a remainder of 3.
Put 5 as the next digit of the answer. 
Result so far: 505.0
Subtract 40 from 43 to get 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 8

Let's proceed to step 5:
8 goes into 36 4 times with a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 5054.0
Subtracting 32 from 36 leaves us with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 8

Moving on to step 6:
If we divide 42 by 8, we get 5 and a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 50545.0
The remainder is 2 after subtracting 40 from 42.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 8

Moving on to step 7:
8 can be fit into 29 3 times, resulting in a remainder of 5.
The number 3 becomes the next digit in our result. 
Result so far: 505453.0
The remainder is 5 after subtracting 24 from 29.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 8

Let's proceed to step 8:
The number 8 fits into 58 7 times, leaving a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 5054537.0
If we take 56 away from 58, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 9:
8 goes into 20 2 times with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 5054537.2
The remainder is 4 after subtracting 16 from 20.
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 10:
The number 8 fits into 40 5 times, leaving a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 5054537.25
The remainder is 0 after subtracting 40 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 11:
8 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 5054537.25
Subtracting 0 from 0 leaves us 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.

Moving on to step 12:
0 divided by 8 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 5054537.25
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.

The quotient of the division is 5054537.25, and the remainder is 0.0.