We divide 2312571 by 796
The aim is to understand the frequency of 796 in 2312571.

Step 1:
2 divided by 796 is 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Grab the next digit (3) from the dividend, add it to 2, then carry on: 23 / 796

Step 2:
796 goes into 23 0 times with a remainder of 23.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 23, we get 23.
Take the next digit (1) from the dividend and append it to 23, then repeat: 231 / 796

On to step 3:
796 can be fit into 231 0 times, resulting in a remainder of 231.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 231, we get 231.
Append the next digit (2) from the dividend to 231 and continue with: 2312 / 796

On to step 4:
796 can be fit into 2312 2 times, resulting in a remainder of 720.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 1592 from 2312, we get 720.
Include the next digit (5) from the dividend after 720, then repeat: 7205 / 796

On to step 5:
When dividing 7205 by 796, we get 9 with a remainder of 41.
The number 9 becomes the next digit in our result. 
Result so far: 29.0
The remainder is 41 after subtracting 7164 from 7205.
Fetch the next digit (7) from the dividend, attach it to 41 and continue: 417 / 796

Moving on to step 6:
The number 796 fits into 417 0 times, leaving a remainder of 417.
Write down 0 as next digit of the result. 
Result so far: 290.0
Subtracting 0 from 417 leaves us with 417.
Take the next digit (1) from the dividend and append it to 417, then repeat: 4171 / 796

On to step 7:
If we divide 4171 by 796, we get 5 and a remainder of 191.
Use 5 as the next digit of our solution. 
Result so far: 2905.0
Deduct 3980 from 4171 and we're left with 191.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1910, and continue the process.

Advancing to step 8:
1910 divided by 796 is 2 with a remainder of 318.
The next digit of our result is 2. 
Result so far: 2905.2
Deduct 1592 from 1910 and we're left with 318.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3180, and continue the process.

On to step 9:
When dividing 3180 by 796, we get 3 with a remainder of 792.
The next digit of our result is 3. 
Result so far: 2905.23
If we subtract 2388 from 3180, we get 792.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7920, and continue the process.

On to step 10:
796 can be fit into 7920 9 times, resulting in a remainder of 756.
Use 9 as the next digit of our solution. 
Result so far: 2905.239
The remainder is 756 after subtracting 7164 from 7920.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7560, and continue the process.

Advancing to step 11:
When dividing 7560 by 796, we get 9 with a remainder of 396.
Record the quotient 9 as the next digit in the result. 
Result so far: 2905.2399
If we subtract 7164 from 7560, we get 396.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3960, and continue the process.

The final result is 2905.2399 with a remainder of 0.00396.