We're dividing 6597394 by 506 
The aim is to understand the frequency of 506 in 6597394.

Advancing to step 1:
6 divided by 506 is 0 with a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Fetch the next digit (5) from the dividend, attach it to 6 and continue: 65 / 506

Moving on to step 2:
The number 506 fits into 65 0 times, leaving a remainder of 65.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 65 leaves us with 65.
Append the next digit (9) from the dividend to 65 and continue with: 659 / 506

Going ahead to step 3:
659 divided by 506 is 1 with a remainder of 153.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 506 away from 659, we end up with 153.
Bring next digit (7) of the dividend behind the 153 and repeat the process: 1537 / 506

Moving on to step 4:
The number 506 fits into 1537 3 times, leaving a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 13.0
Subtracting 1518 from 1537 leaves us with 19.
Take the next digit (3) from the dividend and append it to 19, then repeat: 193 / 506

Moving on to step 5:
The number 506 fits into 193 0 times, leaving a remainder of 193.
Record the quotient 0 as the next digit in the result. 
Result so far: 130.0
Deduct 0 from 193 and we're left with 193.
Fetch the next digit (9) from the dividend, attach it to 193 and continue: 1939 / 506

Going ahead to step 6:
506 can be fit into 1939 3 times, resulting in a remainder of 421.
The next digit of our result is 3. 
Result so far: 1303.0
Deduct 1518 from 1939 and we're left with 421.
Grab the next digit (4) from the dividend, add it to 421, then carry on: 4214 / 506

Step 7:
506 can be fit into 4214 8 times, resulting in a remainder of 166.
Write down 8 as next digit of the result. 
Result so far: 13038.0
Subtracting 4048 from 4214 leaves us with 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 8:
The number 506 fits into 1660 3 times, leaving a remainder of 142.
Put 3 as the next digit of the answer. 
Result so far: 13038.3
The remainder is 142 after subtracting 1518 from 1660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1420, and continue the process.

Step 9:
506 can be fit into 1420 2 times, resulting in a remainder of 408.
Write down 2 as next digit of the result. 
Result so far: 13038.32
The remainder is 408 after subtracting 1012 from 1420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4080, and continue the process.

Moving on to step 10:
When dividing 4080 by 506, we get 8 with a remainder of 32.
Record the quotient 8 as the next digit in the result. 
Result so far: 13038.328
If we subtract 4048 from 4080, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 11:
If we divide 320 by 506, we get 0 and a remainder of 320.
Record the quotient 0 as the next digit in the result. 
Result so far: 13038.328
Subtract 0 from 320 to get 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Let's proceed to step 12:
When dividing 3200 by 506, we get 6 with a remainder of 164.
Put 6 as the next digit of the answer. 
Result so far: 13038.32806
Subtracting 3036 from 3200 leaves us with 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

Step 13:
1640 divided by 506 is 3 with a remainder of 122.
The number 3 becomes the next digit in our result. 
Result so far: 13038.328063
Subtract 1518 from 1640 to get 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

Advancing to step 14:
506 can be fit into 1220 2 times, resulting in a remainder of 208.
The number 2 becomes the next digit in our result. 
Result so far: 13038.3280632
Subtract 1012 from 1220 to get 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Going ahead to step 15:
506 goes into 2080 4 times with a remainder of 56.
Use 4 as the next digit of our solution. 
Result so far: 13038.32806324
Subtract 2024 from 2080 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

The final outcome is 13038.32806324, with a leftover of 5.6e-08.