We're dividing 39719965 by 794 
The aim is to understand the frequency of 794 in 39719965.

Going ahead to step 1:
794 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 794

On to step 2:
When dividing 39 by 794, we get 0 with a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 39, we get 39.
Bring next digit (7) of the dividend behind the 39 and repeat the process: 397 / 794

Moving on to step 3:
The number 794 fits into 397 0 times, leaving a remainder of 397.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 397 and we're left with 397.
Bring next digit (1) of the dividend behind the 397 and repeat the process: 3971 / 794

Let's proceed to step 4:
794 can be fit into 3971 5 times, resulting in a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtracting 3970 from 3971 leaves us with 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 794

Let's proceed to step 5:
If we divide 19 by 794, we get 0 and a remainder of 19.
The number 0 becomes the next digit in our result. 
Result so far: 50.0
Subtract 0 from 19 to get 19.
Take the next digit (9) from the dividend and append it to 19, then repeat: 199 / 794

Let's proceed to step 6:
The number 794 fits into 199 0 times, leaving a remainder of 199.
Use 0 as the next digit of our solution. 
Result so far: 500.0
Subtract 0 from 199 to get 199.
Include the next digit (6) from the dividend after 199, then repeat: 1996 / 794

Advancing to step 7:
If we divide 1996 by 794, we get 2 and a remainder of 408.
Write down 2 as next digit of the result. 
Result so far: 5002.0
Subtract 1588 from 1996 to get 408.
Grab the next digit (5) from the dividend, add it to 408, then carry on: 4085 / 794

Advancing to step 8:
794 goes into 4085 5 times with a remainder of 115.
Record the quotient 5 as the next digit in the result. 
Result so far: 50025.0
If we subtract 3970 from 4085, we get 115.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1150, and continue the process.

Going ahead to step 9:
794 goes into 1150 1 times with a remainder of 356.
Put 1 as the next digit of the answer. 
Result so far: 50025.1
Subtracting 794 from 1150 leaves us with 356.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

Going ahead to step 10:
794 goes into 3560 4 times with a remainder of 384.
Put 4 as the next digit of the answer. 
Result so far: 50025.14
If we take 3176 away from 3560, we end up with 384.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

Step 11:
3840 divided by 794 is 4 with a remainder of 664.
Write down 4 as next digit of the result. 
Result so far: 50025.144
The remainder is 664 after subtracting 3176 from 3840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6640, and continue the process.

The quotient of the division is 50025.144, and the remainder is 0.0664.