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

Let's proceed to step 1:
509 goes into 1 0 times with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 509

Let's proceed to step 2:
If we divide 18 by 509, we get 0 and a remainder of 18.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 18 and we're left with 18.
Fetch the next digit (3) from the dividend, attach it to 18 and continue: 183 / 509

Step 3:
When dividing 183 by 509, we get 0 with a remainder of 183.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 183 and we're left with 183.
Bring next digit (4) of the dividend behind the 183 and repeat the process: 1834 / 509

On to step 4:
The number 509 fits into 1834 3 times, leaving a remainder of 307.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 307 after subtracting 1527 from 1834.
Take the next digit (6) from the dividend and append it to 307, then repeat: 3076 / 509

Let's proceed to step 5:
509 can be fit into 3076 6 times, resulting in a remainder of 22.
Record the quotient 6 as the next digit in the result. 
Result so far: 36.0
The remainder is 22 after subtracting 3054 from 3076.
Append the next digit (3) from the dividend to 22 and continue with: 223 / 509

Let's proceed to step 6:
509 can be fit into 223 0 times, resulting in a remainder of 223.
Put 0 as the next digit of the answer. 
Result so far: 360.0
Subtracting 0 from 223 leaves us with 223.
Grab the next digit (4) from the dividend, add it to 223, then carry on: 2234 / 509

Moving on to step 7:
The number 509 fits into 2234 4 times, leaving a remainder of 198.
The number 4 becomes the next digit in our result. 
Result so far: 3604.0
If we take 2036 away from 2234, we end up with 198.
Fetch the next digit (7) from the dividend, attach it to 198 and continue: 1987 / 509

Advancing to step 8:
1987 divided by 509 is 3 with a remainder of 460.
The next digit of our result is 3. 
Result so far: 36043.0
If we subtract 1527 from 1987, we get 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Let's proceed to step 9:
When dividing 4600 by 509, we get 9 with a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 36043.9
Deduct 4581 from 4600 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 10:
509 goes into 190 0 times with a remainder of 190.
Write down 0 as next digit of the result. 
Result so far: 36043.9
Deduct 0 from 190 and we're left with 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

Let's proceed to step 11:
If we divide 1900 by 509, we get 3 and a remainder of 373.
Record the quotient 3 as the next digit in the result. 
Result so far: 36043.903
Subtracting 1527 from 1900 leaves us with 373.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3730, and continue the process.

Advancing to step 12:
509 can be fit into 3730 7 times, resulting in a remainder of 167.
The next digit of our result is 7. 
Result so far: 36043.9037
The remainder is 167 after subtracting 3563 from 3730.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1670, and continue the process.

Going ahead to step 13:
The number 509 fits into 1670 3 times, leaving a remainder of 143.
The number 3 becomes the next digit in our result. 
Result so far: 36043.90373
If we subtract 1527 from 1670, we get 143.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1430, and continue the process.

Going ahead to step 14:
509 can be fit into 1430 2 times, resulting in a remainder of 412.
Write down 2 as next digit of the result. 
Result so far: 36043.903732
Subtracting 1018 from 1430 leaves us with 412.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4120, and continue the process.

Going ahead to step 15:
509 goes into 4120 8 times with a remainder of 48.
Put 8 as the next digit of the answer. 
Result so far: 36043.9037328
The remainder is 48 after subtracting 4072 from 4120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Step 16:
If we divide 480 by 509, we get 0 and a remainder of 480.
The next digit of our result is 0. 
Result so far: 36043.9037328
Deduct 0 from 480 and we're left with 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

The final outcome is 36043.9037328, with a leftover of 4.8e-07.