We're dividing 797895 by 651 
The aim is to understand the frequency of 651 in 797895.

Moving on to step 1:
The number 651 fits into 7 0 times, leaving a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 651

Going ahead to step 2:
If we divide 79 by 651, we get 0 and a remainder of 79.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 79 leaves us with 79.
Append the next digit (7) from the dividend to 79 and continue with: 797 / 651

Moving on to step 3:
If we divide 797 by 651, we get 1 and a remainder of 146.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 651 away from 797, we end up with 146.
Include the next digit (8) from the dividend after 146, then repeat: 1468 / 651

Advancing to step 4:
When dividing 1468 by 651, we get 2 with a remainder of 166.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Deduct 1302 from 1468 and we're left with 166.
Include the next digit (9) from the dividend after 166, then repeat: 1669 / 651

On to step 5:
651 can be fit into 1669 2 times, resulting in a remainder of 367.
Write down 2 as next digit of the result. 
Result so far: 122.0
The remainder is 367 after subtracting 1302 from 1669.
Fetch the next digit (5) from the dividend, attach it to 367 and continue: 3675 / 651

On to step 6:
When dividing 3675 by 651, we get 5 with a remainder of 420.
Write down 5 as next digit of the result. 
Result so far: 1225.0
Subtract 3255 from 3675 to get 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4200, and continue the process.

Going ahead to step 7:
When dividing 4200 by 651, we get 6 with a remainder of 294.
Record the quotient 6 as the next digit in the result. 
Result so far: 1225.6
If we take 3906 away from 4200, we end up with 294.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2940, and continue the process.

Advancing to step 8:
When dividing 2940 by 651, we get 4 with a remainder of 336.
The next digit of our result is 4. 
Result so far: 1225.64
The remainder is 336 after subtracting 2604 from 2940.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3360, and continue the process.

Step 9:
The number 651 fits into 3360 5 times, leaving a remainder of 105.
Put 5 as the next digit of the answer. 
Result so far: 1225.645
The remainder is 105 after subtracting 3255 from 3360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1050, and continue the process.

Advancing to step 10:
1050 divided by 651 is 1 with a remainder of 399.
Put 1 as the next digit of the answer. 
Result so far: 1225.6451
Subtracting 651 from 1050 leaves us with 399.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3990, and continue the process.

Going ahead to step 11:
When dividing 3990 by 651, we get 6 with a remainder of 84.
Write down 6 as next digit of the result. 
Result so far: 1225.64516
Subtract 3906 from 3990 to get 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Moving on to step 12:
840 divided by 651 is 1 with a remainder of 189.
The number 1 becomes the next digit in our result. 
Result so far: 1225.645161
The remainder is 189 after subtracting 651 from 840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1890, and continue the process.

Moving on to step 13:
651 can be fit into 1890 2 times, resulting in a remainder of 588.
Put 2 as the next digit of the answer. 
Result so far: 1225.6451612
Deduct 1302 from 1890 and we're left with 588.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5880, and continue the process.

On to step 14:
651 can be fit into 5880 9 times, resulting in a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 1225.64516129
If we take 5859 away from 5880, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The quotient of the division is 1225.64516129, and the remainder is 2.1e-08.