65840285 ÷ 505 
The aim is to understand the frequency of 505 in 65840285.

On to step 1:
If we divide 6 by 505, we get 0 and a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Include the next digit (5) from the dividend after 6, then repeat: 65 / 505

Let's proceed to step 2:
505 can be fit into 65 0 times, resulting in a remainder of 65.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 65 and we're left with 65.
Grab the next digit (8) from the dividend, add it to 65, then carry on: 658 / 505

On to step 3:
505 goes into 658 1 times with a remainder of 153.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 505 from 658 and we're left with 153.
Take the next digit (4) from the dividend and append it to 153, then repeat: 1534 / 505

Let's proceed to step 4:
The number 505 fits into 1534 3 times, leaving a remainder of 19.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Subtracting 1515 from 1534 leaves us with 19.
Include the next digit (0) from the dividend after 19, then repeat: 190 / 505

On to step 5:
505 goes into 190 0 times with a remainder of 190.
The number 0 becomes the next digit in our result. 
Result so far: 130.0
Subtracting 0 from 190 leaves us with 190.
Bring next digit (2) of the dividend behind the 190 and repeat the process: 1902 / 505

Advancing to step 6:
505 goes into 1902 3 times with a remainder of 387.
Put 3 as the next digit of the answer. 
Result so far: 1303.0
The remainder is 387 after subtracting 1515 from 1902.
Include the next digit (8) from the dividend after 387, then repeat: 3878 / 505

Going ahead to step 7:
3878 divided by 505 is 7 with a remainder of 343.
The number 7 becomes the next digit in our result. 
Result so far: 13037.0
If we take 3535 away from 3878, we end up with 343.
Take the next digit (5) from the dividend and append it to 343, then repeat: 3435 / 505

Step 8:
505 goes into 3435 6 times with a remainder of 405.
Record the quotient 6 as the next digit in the result. 
Result so far: 130376.0
Subtracting 3030 from 3435 leaves us with 405.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4050, and continue the process.

Step 9:
4050 divided by 505 is 8 with a remainder of 10.
Write down 8 as next digit of the result. 
Result so far: 130376.8
The remainder is 10 after subtracting 4040 from 4050.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 10:
When dividing 100 by 505, we get 0 with a remainder of 100.
The next digit of our result is 0. 
Result so far: 130376.8
The remainder is 100 after subtracting 0 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

On to step 11:
1000 divided by 505 is 1 with a remainder of 495.
Write down 1 as next digit of the result. 
Result so far: 130376.801
Subtracting 505 from 1000 leaves us with 495.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4950, and continue the process.

On to step 12:
4950 divided by 505 is 9 with a remainder of 405.
Write down 9 as next digit of the result. 
Result so far: 130376.8019
Subtracting 4545 from 4950 leaves us with 405.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4050, and continue the process.

Step 13:
4050 divided by 505 is 8 with a remainder of 10.
Use 8 as the next digit of our solution. 
Result so far: 130376.80198
The remainder is 10 after subtracting 4040 from 4050.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 14:
If we divide 100 by 505, we get 0 and a remainder of 100.
Record the quotient 0 as the next digit in the result. 
Result so far: 130376.80198
If we take 0 away from 100, we end up with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

On to step 15:
505 can be fit into 1000 1 times, resulting in a remainder of 495.
Write down 1 as next digit of the result. 
Result so far: 130376.8019801
If we take 505 away from 1000, we end up with 495.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4950, and continue the process.

Let's proceed to step 16:
505 can be fit into 4950 9 times, resulting in a remainder of 405.
Record the quotient 9 as the next digit in the result. 
Result so far: 130376.80198019
Subtracting 4545 from 4950 leaves us with 405.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4050, and continue the process.

In conclusion, the division gives 130376.80198019 with a balance of 4.05e-07.