We look at the division of 50964089 by 965 
The aim is to understand the frequency of 965 in 50964089.

Let's proceed to step 1:
When dividing 5 by 965, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 965

Going ahead to step 2:
50 divided by 965 is 0 with a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Bring next digit (9) of the dividend behind the 50 and repeat the process: 509 / 965

Advancing to step 3:
509 divided by 965 is 0 with a remainder of 509.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 509 after subtracting 0 from 509.
Fetch the next digit (6) from the dividend, attach it to 509 and continue: 5096 / 965

Let's proceed to step 4:
965 goes into 5096 5 times with a remainder of 271.
Use 5 as the next digit of our solution. 
Result so far: 5.0
The remainder is 271 after subtracting 4825 from 5096.
Include the next digit (4) from the dividend after 271, then repeat: 2714 / 965

Advancing to step 5:
When dividing 2714 by 965, we get 2 with a remainder of 784.
Put 2 as the next digit of the answer. 
Result so far: 52.0
If we subtract 1930 from 2714, we get 784.
Include the next digit (0) from the dividend after 784, then repeat: 7840 / 965

Step 6:
If we divide 7840 by 965, we get 8 and a remainder of 120.
Record the quotient 8 as the next digit in the result. 
Result so far: 528.0
The remainder is 120 after subtracting 7720 from 7840.
Include the next digit (8) from the dividend after 120, then repeat: 1208 / 965

Step 7:
1208 divided by 965 is 1 with a remainder of 243.
Put 1 as the next digit of the answer. 
Result so far: 5281.0
If we take 965 away from 1208, we end up with 243.
Include the next digit (9) from the dividend after 243, then repeat: 2439 / 965

Step 8:
When dividing 2439 by 965, we get 2 with a remainder of 509.
The number 2 becomes the next digit in our result. 
Result so far: 52812.0
Subtract 1930 from 2439 to get 509.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5090, and continue the process.

Let's proceed to step 9:
965 can be fit into 5090 5 times, resulting in a remainder of 265.
Put 5 as the next digit of the answer. 
Result so far: 52812.5
The remainder is 265 after subtracting 4825 from 5090.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2650, and continue the process.

Let's proceed to step 10:
965 can be fit into 2650 2 times, resulting in a remainder of 720.
The number 2 becomes the next digit in our result. 
Result so far: 52812.52
Subtracting 1930 from 2650 leaves us with 720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7200, and continue the process.

Step 11:
965 goes into 7200 7 times with a remainder of 445.
Write down 7 as next digit of the result. 
Result so far: 52812.527
Subtracting 6755 from 7200 leaves us with 445.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4450, and continue the process.

Moving on to step 12:
965 goes into 4450 4 times with a remainder of 590.
Use 4 as the next digit of our solution. 
Result so far: 52812.5274
Subtracting 3860 from 4450 leaves us with 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5900, and continue the process.

Moving on to step 13:
965 goes into 5900 6 times with a remainder of 110.
Record the quotient 6 as the next digit in the result. 
Result so far: 52812.52746
If we subtract 5790 from 5900, we get 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Going ahead to step 14:
When dividing 1100 by 965, we get 1 with a remainder of 135.
Use 1 as the next digit of our solution. 
Result so far: 52812.527461
If we subtract 965 from 1100, we get 135.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1350, and continue the process.

Going ahead to step 15:
1350 divided by 965 is 1 with a remainder of 385.
Use 1 as the next digit of our solution. 
Result so far: 52812.5274611
Subtract 965 from 1350 to get 385.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3850, and continue the process.

After the division, we end up with 52812.5274611 and a remainder of 3.85e-06.