We're dividing 23942883 by 797 
The aim is to understand the frequency of 797 in 23942883.

On to step 1:
797 goes into 2 0 times with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 797

Advancing to step 2:
23 divided by 797 is 0 with a remainder of 23.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 23 and we're left with 23.
Append the next digit (9) from the dividend to 23 and continue with: 239 / 797

Moving on to step 3:
The number 797 fits into 239 0 times, leaving a remainder of 239.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 239, we end up with 239.
Append the next digit (4) from the dividend to 239 and continue with: 2394 / 797

Moving on to step 4:
If we divide 2394 by 797, we get 3 and a remainder of 3.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we take 2391 away from 2394, we end up with 3.
Bring next digit (2) of the dividend behind the 3 and repeat the process: 32 / 797

On to step 5:
32 divided by 797 is 0 with a remainder of 32.
Write down 0 as next digit of the result. 
Result so far: 30.0
Subtracting 0 from 32 leaves us with 32.
Bring next digit (8) of the dividend behind the 32 and repeat the process: 328 / 797

Moving on to step 6:
The number 797 fits into 328 0 times, leaving a remainder of 328.
Put 0 as the next digit of the answer. 
Result so far: 300.0
Subtracting 0 from 328 leaves us with 328.
Take the next digit (8) from the dividend and append it to 328, then repeat: 3288 / 797

On to step 7:
When dividing 3288 by 797, we get 4 with a remainder of 100.
Put 4 as the next digit of the answer. 
Result so far: 3004.0
Deduct 3188 from 3288 and we're left with 100.
Bring next digit (3) of the dividend behind the 100 and repeat the process: 1003 / 797

Advancing to step 8:
797 can be fit into 1003 1 times, resulting in a remainder of 206.
The next digit of our result is 1. 
Result so far: 30041.0
The remainder is 206 after subtracting 797 from 1003.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

Step 9:
2060 divided by 797 is 2 with a remainder of 466.
Record the quotient 2 as the next digit in the result. 
Result so far: 30041.2
The remainder is 466 after subtracting 1594 from 2060.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4660, and continue the process.

On to step 10:
The number 797 fits into 4660 5 times, leaving a remainder of 675.
The number 5 becomes the next digit in our result. 
Result so far: 30041.25
The remainder is 675 after subtracting 3985 from 4660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6750, and continue the process.

Going ahead to step 11:
The number 797 fits into 6750 8 times, leaving a remainder of 374.
Put 8 as the next digit of the answer. 
Result so far: 30041.258
Subtracting 6376 from 6750 leaves us with 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Moving on to step 12:
3740 divided by 797 is 4 with a remainder of 552.
Write down 4 as next digit of the result. 
Result so far: 30041.2584
If we take 3188 away from 3740, we end up with 552.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5520, and continue the process.

Step 13:
The number 797 fits into 5520 6 times, leaving a remainder of 738.
The next digit of our result is 6. 
Result so far: 30041.25846
Subtract 4782 from 5520 to get 738.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7380, and continue the process.

On to step 14:
If we divide 7380 by 797, we get 9 and a remainder of 207.
Put 9 as the next digit of the answer. 
Result so far: 30041.258469
Deduct 7173 from 7380 and we're left with 207.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2070, and continue the process.

Going ahead to step 15:
If we divide 2070 by 797, we get 2 and a remainder of 476.
Record the quotient 2 as the next digit in the result. 
Result so far: 30041.2584692
If we subtract 1594 from 2070, we get 476.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4760, and continue the process.

Let's proceed to step 16:
The number 797 fits into 4760 5 times, leaving a remainder of 775.
The number 5 becomes the next digit in our result. 
Result so far: 30041.25846925
If we take 3985 away from 4760, we end up with 775.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7750, and continue the process.

The final outcome is 30041.25846925, with a leftover of 7.75e-07.