We look at the division of 51174689 by 597 
The aim is to understand the frequency of 597 in 51174689.

Going ahead to step 1:
5 divided by 597 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 597

On to step 2:
51 divided by 597 is 0 with a remainder of 51.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Include the next digit (1) from the dividend after 51, then repeat: 511 / 597

Let's proceed to step 3:
If we divide 511 by 597, we get 0 and a remainder of 511.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 511 after subtracting 0 from 511.
Include the next digit (7) from the dividend after 511, then repeat: 5117 / 597

Advancing to step 4:
597 goes into 5117 8 times with a remainder of 341.
Write down 8 as next digit of the result. 
Result so far: 8.0
If we take 4776 away from 5117, we end up with 341.
Take the next digit (4) from the dividend and append it to 341, then repeat: 3414 / 597

Advancing to step 5:
When dividing 3414 by 597, we get 5 with a remainder of 429.
Record the quotient 5 as the next digit in the result. 
Result so far: 85.0
If we take 2985 away from 3414, we end up with 429.
Append the next digit (6) from the dividend to 429 and continue with: 4296 / 597

Let's proceed to step 6:
The number 597 fits into 4296 7 times, leaving a remainder of 117.
The number 7 becomes the next digit in our result. 
Result so far: 857.0
Subtract 4179 from 4296 to get 117.
Fetch the next digit (8) from the dividend, attach it to 117 and continue: 1178 / 597

Advancing to step 7:
597 can be fit into 1178 1 times, resulting in a remainder of 581.
Record the quotient 1 as the next digit in the result. 
Result so far: 8571.0
The remainder is 581 after subtracting 597 from 1178.
Take the next digit (9) from the dividend and append it to 581, then repeat: 5819 / 597

On to step 8:
5819 divided by 597 is 9 with a remainder of 446.
The number 9 becomes the next digit in our result. 
Result so far: 85719.0
Deduct 5373 from 5819 and we're left with 446.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4460, and continue the process.

Let's proceed to step 9:
When dividing 4460 by 597, we get 7 with a remainder of 281.
Record the quotient 7 as the next digit in the result. 
Result so far: 85719.7
If we take 4179 away from 4460, we end up with 281.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2810, and continue the process.

Step 10:
If we divide 2810 by 597, we get 4 and a remainder of 422.
Record the quotient 4 as the next digit in the result. 
Result so far: 85719.74
If we subtract 2388 from 2810, we get 422.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4220, and continue the process.

Moving on to step 11:
If we divide 4220 by 597, we get 7 and a remainder of 41.
Put 7 as the next digit of the answer. 
Result so far: 85719.747
If we take 4179 away from 4220, we end up with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

On to step 12:
597 can be fit into 410 0 times, resulting in a remainder of 410.
The number 0 becomes the next digit in our result. 
Result so far: 85719.747
If we subtract 0 from 410, we get 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

Let's proceed to step 13:
597 goes into 4100 6 times with a remainder of 518.
Record the quotient 6 as the next digit in the result. 
Result so far: 85719.74706
If we subtract 3582 from 4100, we get 518.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5180, and continue the process.

Advancing to step 14:
If we divide 5180 by 597, we get 8 and a remainder of 404.
Put 8 as the next digit of the answer. 
Result so far: 85719.747068
If we subtract 4776 from 5180, we get 404.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

Moving on to step 15:
597 goes into 4040 6 times with a remainder of 458.
Write down 6 as next digit of the result. 
Result so far: 85719.7470686
Subtract 3582 from 4040 to get 458.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4580, and continue the process.

Moving on to step 16:
The number 597 fits into 4580 7 times, leaving a remainder of 401.
Put 7 as the next digit of the answer. 
Result so far: 85719.74706867
Subtract 4179 from 4580 to get 401.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4010, and continue the process.

The final result is 85719.74706867 with a remainder of 4.01e-07.