Let's divide 86777556 by 397
The aim is to understand the frequency of 397 in 86777556.

Advancing to step 1:
If we divide 8 by 397, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 397

Step 2:
397 can be fit into 86 0 times, resulting in a remainder of 86.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 86 after subtracting 0 from 86.
Take the next digit (7) from the dividend and append it to 86, then repeat: 867 / 397

On to step 3:
When dividing 867 by 397, we get 2 with a remainder of 73.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 794 from 867 to get 73.
Include the next digit (7) from the dividend after 73, then repeat: 737 / 397

Moving on to step 4:
The number 397 fits into 737 1 times, leaving a remainder of 340.
Use 1 as the next digit of our solution. 
Result so far: 21.0
Deduct 397 from 737 and we're left with 340.
Grab the next digit (7) from the dividend, add it to 340, then carry on: 3407 / 397

Moving on to step 5:
The number 397 fits into 3407 8 times, leaving a remainder of 231.
Write down 8 as next digit of the result. 
Result so far: 218.0
If we take 3176 away from 3407, we end up with 231.
Bring next digit (5) of the dividend behind the 231 and repeat the process: 2315 / 397

Moving on to step 6:
The number 397 fits into 2315 5 times, leaving a remainder of 330.
Put 5 as the next digit of the answer. 
Result so far: 2185.0
Deduct 1985 from 2315 and we're left with 330.
Append the next digit (5) from the dividend to 330 and continue with: 3305 / 397

Let's proceed to step 7:
397 goes into 3305 8 times with a remainder of 129.
Record the quotient 8 as the next digit in the result. 
Result so far: 21858.0
If we subtract 3176 from 3305, we get 129.
Fetch the next digit (6) from the dividend, attach it to 129 and continue: 1296 / 397

Let's proceed to step 8:
If we divide 1296 by 397, we get 3 and a remainder of 105.
Write down 3 as next digit of the result. 
Result so far: 218583.0
Deduct 1191 from 1296 and we're left with 105.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1050, and continue the process.

Going ahead to step 9:
397 can be fit into 1050 2 times, resulting in a remainder of 256.
Put 2 as the next digit of the answer. 
Result so far: 218583.2
Subtracting 794 from 1050 leaves us with 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

Step 10:
397 can be fit into 2560 6 times, resulting in a remainder of 178.
Write down 6 as next digit of the result. 
Result so far: 218583.26
If we subtract 2382 from 2560, we get 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

Going ahead to step 11:
The number 397 fits into 1780 4 times, leaving a remainder of 192.
Use 4 as the next digit of our solution. 
Result so far: 218583.264
If we subtract 1588 from 1780, we get 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Advancing to step 12:
1920 divided by 397 is 4 with a remainder of 332.
The next digit of our result is 4. 
Result so far: 218583.2644
The remainder is 332 after subtracting 1588 from 1920.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3320, and continue the process.

Our division results in 218583.2644 with a remaining 0.00332.