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

On to step 1:
If we divide 5 by 97, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 97

Going ahead to step 2:
When dividing 50 by 97, we get 0 with a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Grab the next digit (9) from the dividend, add it to 50, then carry on: 509 / 97

Moving on to step 3:
97 goes into 509 5 times with a remainder of 24.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we take 485 away from 509, we end up with 24.
Append the next digit (3) from the dividend to 24 and continue with: 243 / 97

Let's proceed to step 4:
If we divide 243 by 97, we get 2 and a remainder of 49.
Write down 2 as next digit of the result. 
Result so far: 52.0
Deduct 194 from 243 and we're left with 49.
Fetch the next digit (1) from the dividend, attach it to 49 and continue: 491 / 97

Going ahead to step 5:
When dividing 491 by 97, we get 5 with a remainder of 6.
Use 5 as the next digit of our solution. 
Result so far: 525.0
If we take 485 away from 491, we end up with 6.
Include the next digit (8) from the dividend after 6, then repeat: 68 / 97

On to step 6:
The number 97 fits into 68 0 times, leaving a remainder of 68.
The number 0 becomes the next digit in our result. 
Result so far: 5250.0
Subtracting 0 from 68 leaves us with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Let's proceed to step 7:
If we divide 680 by 97, we get 7 and a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 5250.7
Deduct 679 from 680 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 8:
97 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 5250.7
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 9:
97 goes into 100 1 times with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 5250.701
Subtracting 97 from 100 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 10:
The number 97 fits into 30 0 times, leaving a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 5250.701
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 11:
When dividing 300 by 97, we get 3 with a remainder of 9.
Use 3 as the next digit of our solution. 
Result so far: 5250.70103
The remainder is 9 after subtracting 291 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 12:
If we divide 90 by 97, we get 0 and a remainder of 90.
Write down 0 as next digit of the result. 
Result so far: 5250.70103
If we take 0 away from 90, we end up with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Advancing to step 13:
When dividing 900 by 97, we get 9 with a remainder of 27.
Write down 9 as next digit of the result. 
Result so far: 5250.7010309
Deduct 873 from 900 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 14:
97 goes into 270 2 times with a remainder of 76.
The next digit of our result is 2. 
Result so far: 5250.70103092
If we take 194 away from 270, we end up with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

The final result is 5250.70103092 with a remainder of 7.6e-08.