We look at the division of 361018 by 7 
Let's see how many times 7 fits into 361018.

On to step 1:
3 divided by 7 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in 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 / 7

On to step 2:
When dividing 36 by 7, we get 5 with a remainder of 1.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 35 from 36, we get 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 7

Moving on to step 3:
When dividing 11 by 7, we get 1 with a remainder of 4.
The next digit of our result is 1. 
Result so far: 51.0
Subtracting 7 from 11 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 7

Advancing to step 4:
If we divide 40 by 7, we get 5 and a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 515.0
Subtracting 35 from 40 leaves us with 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 7

Advancing to step 5:
If we divide 51 by 7, we get 7 and a remainder of 2.
The next digit of our result is 7. 
Result so far: 5157.0
If we subtract 49 from 51, we get 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 7

Advancing to step 6:
7 goes into 28 4 times with a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 51574.0
If we subtract 28 from 28, 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.

Advancing to step 7:
When dividing 0 by 7, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 51574.0
Subtract 0 from 0 to 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.

On to step 8:
The number 7 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 51574.0
Deduct 0 from 0 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.

Our division results in 51574.0 with a remaining 0.0.