We're dividing 366259 by 8 
We want to divide 366259 by 8.

Moving on to step 1:
If we divide 3 by 8, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 8

Let's proceed to step 2:
The number 8 fits into 36 4 times, leaving a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtracting 32 from 36 leaves us with 4.
Fetch the next digit (6) from the dividend, attach it to 4 and continue: 46 / 8

Advancing to step 3:
46 divided by 8 is 5 with a remainder of 6.
Use 5 as the next digit of our solution. 
Result so far: 45.0
Subtract 40 from 46 to get 6.
Fetch the next digit (2) from the dividend, attach it to 6 and continue: 62 / 8

On to step 4:
62 divided by 8 is 7 with a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 457.0
If we take 56 away from 62, we end up with 6.
Take the next digit (5) from the dividend and append it to 6, then repeat: 65 / 8

On to step 5:
8 goes into 65 8 times with a remainder of 1.
Use 8 as the next digit of our solution. 
Result so far: 4578.0
Subtracting 64 from 65 leaves us with 1.
Append the next digit (9) from the dividend to 1 and continue with: 19 / 8

Step 6:
8 goes into 19 2 times with a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 45782.0
If we take 16 away from 19, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
If we divide 30 by 8, we get 3 and a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 45782.3
Subtract 24 from 30 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 8:
8 can be fit into 60 7 times, resulting in a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 45782.37
Subtracting 56 from 60 leaves us 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 9:
8 goes into 40 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 45782.375
Deduct 40 from 40 and we're left 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.

Advancing to step 10:
8 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 45782.375
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.

Step 11:
The number 8 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 45782.375
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.

After the division, we end up with 45782.375 and a remainder of 0.0.