We're dividing 89178085 by 542 
We want to figure out the number of times 89178085 can be divided by 542.

On to step 1:
The number 542 fits into 8 0 times, leaving a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Include the next digit (9) from the dividend after 8, then repeat: 89 / 542

Advancing to step 2:
When dividing 89 by 542, we get 0 with a remainder of 89.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 89, we end up with 89.
Append the next digit (1) from the dividend to 89 and continue with: 891 / 542

Let's proceed to step 3:
542 can be fit into 891 1 times, resulting in a remainder of 349.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 542 from 891 leaves us with 349.
Take the next digit (7) from the dividend and append it to 349, then repeat: 3497 / 542

Going ahead to step 4:
542 goes into 3497 6 times with a remainder of 245.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
The remainder is 245 after subtracting 3252 from 3497.
Include the next digit (8) from the dividend after 245, then repeat: 2458 / 542

On to step 5:
The number 542 fits into 2458 4 times, leaving a remainder of 290.
Use 4 as the next digit of our solution. 
Result so far: 164.0
Subtracting 2168 from 2458 leaves us with 290.
Append the next digit (0) from the dividend to 290 and continue with: 2900 / 542

On to step 6:
When dividing 2900 by 542, we get 5 with a remainder of 190.
Write down 5 as next digit of the result. 
Result so far: 1645.0
Subtracting 2710 from 2900 leaves us with 190.
Grab the next digit (8) from the dividend, add it to 190, then carry on: 1908 / 542

Step 7:
542 can be fit into 1908 3 times, resulting in a remainder of 282.
Record the quotient 3 as the next digit in the result. 
Result so far: 16453.0
Deduct 1626 from 1908 and we're left with 282.
Append the next digit (5) from the dividend to 282 and continue with: 2825 / 542

Moving on to step 8:
542 can be fit into 2825 5 times, resulting in a remainder of 115.
Use 5 as the next digit of our solution. 
Result so far: 164535.0
The remainder is 115 after subtracting 2710 from 2825.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1150, and continue the process.

Advancing to step 9:
When dividing 1150 by 542, we get 2 with a remainder of 66.
Put 2 as the next digit of the answer. 
Result so far: 164535.2
Subtract 1084 from 1150 to get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Moving on to step 10:
660 divided by 542 is 1 with a remainder of 118.
Write down 1 as next digit of the result. 
Result so far: 164535.21
Subtract 542 from 660 to get 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Let's proceed to step 11:
542 goes into 1180 2 times with a remainder of 96.
Record the quotient 2 as the next digit in the result. 
Result so far: 164535.212
Deduct 1084 from 1180 and we're left with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Going ahead to step 12:
542 can be fit into 960 1 times, resulting in a remainder of 418.
Record the quotient 1 as the next digit in the result. 
Result so far: 164535.2121
The remainder is 418 after subtracting 542 from 960.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4180, and continue the process.

Step 13:
If we divide 4180 by 542, we get 7 and a remainder of 386.
Put 7 as the next digit of the answer. 
Result so far: 164535.21217
The remainder is 386 after subtracting 3794 from 4180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3860, and continue the process.

On to step 14:
542 goes into 3860 7 times with a remainder of 66.
Use 7 as the next digit of our solution. 
Result so far: 164535.212177
Subtract 3794 from 3860 to get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

The final outcome is 164535.212177, with a leftover of 6.6e-06.