We're dividing 399781 by 76 
The aim is to understand the frequency of 76 in 399781.

Advancing to step 1:
The number 76 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 76

On to step 2:
76 can be fit into 39 0 times, resulting in a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Fetch the next digit (9) from the dividend, attach it to 39 and continue: 399 / 76

Let's proceed to step 3:
399 divided by 76 is 5 with a remainder of 19.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Deduct 380 from 399 and we're left with 19.
Take the next digit (7) from the dividend and append it to 19, then repeat: 197 / 76

On to step 4:
When dividing 197 by 76, we get 2 with a remainder of 45.
The next digit of our result is 2. 
Result so far: 52.0
Subtract 152 from 197 to get 45.
Grab the next digit (8) from the dividend, add it to 45, then carry on: 458 / 76

Step 5:
The number 76 fits into 458 6 times, leaving a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 526.0
Deduct 456 from 458 and we're left with 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 76

Going ahead to step 6:
76 goes into 21 0 times with a remainder of 21.
Use 0 as the next digit of our solution. 
Result so far: 5260.0
The remainder is 21 after subtracting 0 from 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 7:
When dividing 210 by 76, we get 2 with a remainder of 58.
Put 2 as the next digit of the answer. 
Result so far: 5260.2
If we subtract 152 from 210, we get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Let's proceed to step 8:
76 can be fit into 580 7 times, resulting in a remainder of 48.
Put 7 as the next digit of the answer. 
Result so far: 5260.27
Deduct 532 from 580 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

On to step 9:
When dividing 480 by 76, we get 6 with a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 5260.276
Subtract 456 from 480 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 10:
76 can be fit into 240 3 times, resulting in a remainder of 12.
Put 3 as the next digit of the answer. 
Result so far: 5260.2763
If we subtract 228 from 240, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 11:
76 goes into 120 1 times with a remainder of 44.
Record the quotient 1 as the next digit in the result. 
Result so far: 5260.27631
Subtract 76 from 120 to get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 12:
When dividing 440 by 76, we get 5 with a remainder of 60.
Use 5 as the next digit of our solution. 
Result so far: 5260.276315
The remainder is 60 after subtracting 380 from 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Moving on to step 13:
The number 76 fits into 600 7 times, leaving a remainder of 68.
Put 7 as the next digit of the answer. 
Result so far: 5260.2763157
Subtracting 532 from 600 leaves us with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Step 14:
The number 76 fits into 680 8 times, leaving a remainder of 72.
Use 8 as the next digit of our solution. 
Result so far: 5260.27631578
If we take 608 away from 680, we end up with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

The quotient of the division is 5260.27631578, and the remainder is 7.2e-08.