Let's divide 30198877 by 507
We're looking to find how many times 507 goes into 30198877.

Step 1:
3 divided by 507 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 507

Let's proceed to step 2:
When dividing 30 by 507, we get 0 with a remainder of 30.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 30, we get 30.
Take the next digit (1) from the dividend and append it to 30, then repeat: 301 / 507

Advancing to step 3:
301 divided by 507 is 0 with a remainder of 301.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 301, we get 301.
Take the next digit (9) from the dividend and append it to 301, then repeat: 3019 / 507

Step 4:
When dividing 3019 by 507, we get 5 with a remainder of 484.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we take 2535 away from 3019, we end up with 484.
Append the next digit (8) from the dividend to 484 and continue with: 4848 / 507

Moving on to step 5:
507 can be fit into 4848 9 times, resulting in a remainder of 285.
The number 9 becomes the next digit in our result. 
Result so far: 59.0
Subtract 4563 from 4848 to get 285.
Grab the next digit (8) from the dividend, add it to 285, then carry on: 2858 / 507

On to step 6:
507 goes into 2858 5 times with a remainder of 323.
Put 5 as the next digit of the answer. 
Result so far: 595.0
The remainder is 323 after subtracting 2535 from 2858.
Fetch the next digit (7) from the dividend, attach it to 323 and continue: 3237 / 507

On to step 7:
507 goes into 3237 6 times with a remainder of 195.
Use 6 as the next digit of our solution. 
Result so far: 5956.0
The remainder is 195 after subtracting 3042 from 3237.
Fetch the next digit (7) from the dividend, attach it to 195 and continue: 1957 / 507

Let's proceed to step 8:
1957 divided by 507 is 3 with a remainder of 436.
The next digit of our result is 3. 
Result so far: 59563.0
If we subtract 1521 from 1957, we get 436.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4360, and continue the process.

Step 9:
If we divide 4360 by 507, we get 8 and a remainder of 304.
Record the quotient 8 as the next digit in the result. 
Result so far: 59563.8
If we take 4056 away from 4360, we end up with 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Going ahead to step 10:
If we divide 3040 by 507, we get 5 and a remainder of 505.
Write down 5 as next digit of the result. 
Result so far: 59563.85
The remainder is 505 after subtracting 2535 from 3040.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5050, and continue the process.

Advancing to step 11:
If we divide 5050 by 507, we get 9 and a remainder of 487.
Use 9 as the next digit of our solution. 
Result so far: 59563.859
The remainder is 487 after subtracting 4563 from 5050.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4870, and continue the process.

Going ahead to step 12:
If we divide 4870 by 507, we get 9 and a remainder of 307.
The number 9 becomes the next digit in our result. 
Result so far: 59563.8599
If we take 4563 away from 4870, we end up with 307.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3070, and continue the process.

The final outcome is 59563.8599, with a leftover of 0.00307.