2438370 divided by 797 
The aim is to understand the frequency of 797 in 2438370.

Let's proceed to step 1:
The number 797 fits into 2 0 times, leaving a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 797

Let's proceed to step 2:
797 goes into 24 0 times with a remainder of 24.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 24 and we're left with 24.
Take the next digit (3) from the dividend and append it to 24, then repeat: 243 / 797

Step 3:
When dividing 243 by 797, we get 0 with a remainder of 243.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 243 leaves us with 243.
Take the next digit (8) from the dividend and append it to 243, then repeat: 2438 / 797

Step 4:
When dividing 2438 by 797, we get 3 with a remainder of 47.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Deduct 2391 from 2438 and we're left with 47.
Take the next digit (3) from the dividend and append it to 47, then repeat: 473 / 797

Let's proceed to step 5:
When dividing 473 by 797, we get 0 with a remainder of 473.
Use 0 as the next digit of our solution. 
Result so far: 30.0
Subtract 0 from 473 to get 473.
Append the next digit (7) from the dividend to 473 and continue with: 4737 / 797

Moving on to step 6:
When dividing 4737 by 797, we get 5 with a remainder of 752.
Record the quotient 5 as the next digit in the result. 
Result so far: 305.0
The remainder is 752 after subtracting 3985 from 4737.
Append the next digit (0) from the dividend to 752 and continue with: 7520 / 797

Let's proceed to step 7:
When dividing 7520 by 797, we get 9 with a remainder of 347.
Write down 9 as next digit of the result. 
Result so far: 3059.0
If we subtract 7173 from 7520, we get 347.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3470, and continue the process.

On to step 8:
797 goes into 3470 4 times with a remainder of 282.
Write down 4 as next digit of the result. 
Result so far: 3059.4
If we subtract 3188 from 3470, we get 282.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2820, and continue the process.

Moving on to step 9:
797 goes into 2820 3 times with a remainder of 429.
The next digit of our result is 3. 
Result so far: 3059.43
If we take 2391 away from 2820, we end up with 429.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4290, and continue the process.

Going ahead to step 10:
If we divide 4290 by 797, we get 5 and a remainder of 305.
The next digit of our result is 5. 
Result so far: 3059.435
If we take 3985 away from 4290, we end up with 305.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3050, and continue the process.

Let's proceed to step 11:
The number 797 fits into 3050 3 times, leaving a remainder of 659.
Put 3 as the next digit of the answer. 
Result so far: 3059.4353
Subtracting 2391 from 3050 leaves us with 659.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6590, and continue the process.

Going ahead to step 12:
797 can be fit into 6590 8 times, resulting in a remainder of 214.
Record the quotient 8 as the next digit in the result. 
Result so far: 3059.43538
If we subtract 6376 from 6590, we get 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2140, and continue the process.

Step 13:
797 can be fit into 2140 2 times, resulting in a remainder of 546.
The next digit of our result is 2. 
Result so far: 3059.435382
If we subtract 1594 from 2140, we get 546.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5460, and continue the process.

Moving on to step 14:
When dividing 5460 by 797, we get 6 with a remainder of 678.
The next digit of our result is 6. 
Result so far: 3059.4353826
If we subtract 4782 from 5460, we get 678.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6780, and continue the process.

Going ahead to step 15:
797 can be fit into 6780 8 times, resulting in a remainder of 404.
Write down 8 as next digit of the result. 
Result so far: 3059.43538268
If we subtract 6376 from 6780, 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.

After the division, we end up with 3059.43538268 and a remainder of 4.04e-07.