397987 ÷ 52 
We're looking to find how many times 52 goes into 397987.

On to step 1:
52 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 52

Advancing to step 2:
52 can be fit into 39 0 times, resulting in a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Fetch the next digit (7) from the dividend, attach it to 39 and continue: 397 / 52

Step 3:
52 can be fit into 397 7 times, resulting in a remainder of 33.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
If we subtract 364 from 397, we get 33.
Fetch the next digit (9) from the dividend, attach it to 33 and continue: 339 / 52

On to step 4:
52 can be fit into 339 6 times, resulting in a remainder of 27.
The number 6 becomes the next digit in our result. 
Result so far: 76.0
The remainder is 27 after subtracting 312 from 339.
Fetch the next digit (8) from the dividend, attach it to 27 and continue: 278 / 52

Going ahead to step 5:
278 divided by 52 is 5 with a remainder of 18.
The number 5 becomes the next digit in our result. 
Result so far: 765.0
Subtracting 260 from 278 leaves us with 18.
Grab the next digit (7) from the dividend, add it to 18, then carry on: 187 / 52

Let's proceed to step 6:
If we divide 187 by 52, we get 3 and a remainder of 31.
The next digit of our result is 3. 
Result so far: 7653.0
If we subtract 156 from 187, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 7:
When dividing 310 by 52, we get 5 with a remainder of 50.
Put 5 as the next digit of the answer. 
Result so far: 7653.5
If we take 260 away from 310, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 8:
If we divide 500 by 52, we get 9 and a remainder of 32.
Put 9 as the next digit of the answer. 
Result so far: 7653.59
Deduct 468 from 500 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 9:
The number 52 fits into 320 6 times, leaving a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 7653.596
If we subtract 312 from 320, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 10:
When dividing 80 by 52, we get 1 with a remainder of 28.
Write down 1 as next digit of the result. 
Result so far: 7653.5961
The remainder is 28 after subtracting 52 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 11:
52 can be fit into 280 5 times, resulting in a remainder of 20.
Put 5 as the next digit of the answer. 
Result so far: 7653.59615
Deduct 260 from 280 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 12:
52 goes into 200 3 times with a remainder of 44.
Use 3 as the next digit of our solution. 
Result so far: 7653.596153
Subtract 156 from 200 to get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Step 13:
52 can be fit into 440 8 times, resulting in a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 7653.5961538
Subtract 416 from 440 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 14:
The number 52 fits into 240 4 times, leaving a remainder of 32.
Write down 4 as next digit of the result. 
Result so far: 7653.59615384
The remainder is 32 after subtracting 208 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

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