36407179 divided by 509 
We want to figure out the number of times 36407179 can be divided by 509.

Step 1:
If we divide 3 by 509, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 509

On to step 2:
36 divided by 509 is 0 with a remainder of 36.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 36 and we're left with 36.
Bring next digit (4) of the dividend behind the 36 and repeat the process: 364 / 509

Advancing to step 3:
If we divide 364 by 509, we get 0 and a remainder of 364.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 364 to get 364.
Grab the next digit (0) from the dividend, add it to 364, then carry on: 3640 / 509

Going ahead to step 4:
The number 509 fits into 3640 7 times, leaving a remainder of 77.
The next digit of our result is 7. 
Result so far: 7.0
The remainder is 77 after subtracting 3563 from 3640.
Fetch the next digit (7) from the dividend, attach it to 77 and continue: 777 / 509

Moving on to step 5:
509 can be fit into 777 1 times, resulting in a remainder of 268.
Write down 1 as next digit of the result. 
Result so far: 71.0
If we subtract 509 from 777, we get 268.
Bring next digit (1) of the dividend behind the 268 and repeat the process: 2681 / 509

On to step 6:
509 can be fit into 2681 5 times, resulting in a remainder of 136.
The next digit of our result is 5. 
Result so far: 715.0
Deduct 2545 from 2681 and we're left with 136.
Take the next digit (7) from the dividend and append it to 136, then repeat: 1367 / 509

Advancing to step 7:
1367 divided by 509 is 2 with a remainder of 349.
The next digit of our result is 2. 
Result so far: 7152.0
If we take 1018 away from 1367, we end up with 349.
Grab the next digit (9) from the dividend, add it to 349, then carry on: 3499 / 509

Going ahead to step 8:
The number 509 fits into 3499 6 times, leaving a remainder of 445.
The number 6 becomes the next digit in our result. 
Result so far: 71526.0
The remainder is 445 after subtracting 3054 from 3499.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4450, and continue the process.

Going ahead to step 9:
If we divide 4450 by 509, we get 8 and a remainder of 378.
Record the quotient 8 as the next digit in the result. 
Result so far: 71526.8
If we subtract 4072 from 4450, we get 378.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3780, and continue the process.

Step 10:
If we divide 3780 by 509, we get 7 and a remainder of 217.
Record the quotient 7 as the next digit in the result. 
Result so far: 71526.87
Subtracting 3563 from 3780 leaves us with 217.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2170, and continue the process.

Going ahead to step 11:
2170 divided by 509 is 4 with a remainder of 134.
The next digit of our result is 4. 
Result so far: 71526.874
If we take 2036 away from 2170, we end up with 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

Moving on to step 12:
The number 509 fits into 1340 2 times, leaving a remainder of 322.
Write down 2 as next digit of the result. 
Result so far: 71526.8742
If we subtract 1018 from 1340, we get 322.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3220, and continue the process.

Advancing to step 13:
If we divide 3220 by 509, we get 6 and a remainder of 166.
Use 6 as the next digit of our solution. 
Result so far: 71526.87426
If we subtract 3054 from 3220, we get 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Going ahead to step 14:
The number 509 fits into 1660 3 times, leaving a remainder of 133.
Put 3 as the next digit of the answer. 
Result so far: 71526.874263
If we subtract 1527 from 1660, we get 133.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1330, and continue the process.

Step 15:
509 can be fit into 1330 2 times, resulting in a remainder of 312.
Write down 2 as next digit of the result. 
Result so far: 71526.8742632
If we take 1018 away from 1330, we end up with 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

Going ahead to step 16:
3120 divided by 509 is 6 with a remainder of 66.
The number 6 becomes the next digit in our result. 
Result so far: 71526.87426326
Deduct 3054 from 3120 and we're left with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

After the division, we end up with 71526.87426326 and a remainder of 6.6e-08.