Let's divide 31530435 by 506
The aim is to understand the frequency of 506 in 31530435.

Advancing to step 1:
When dividing 3 by 506, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 506

Moving on to step 2:
If we divide 31 by 506, we get 0 and a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Take the next digit (5) from the dividend and append it to 31, then repeat: 315 / 506

Step 3:
506 can be fit into 315 0 times, resulting in a remainder of 315.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 315 after subtracting 0 from 315.
Fetch the next digit (3) from the dividend, attach it to 315 and continue: 3153 / 506

Moving on to step 4:
When dividing 3153 by 506, we get 6 with a remainder of 117.
The next digit of our result is 6. 
Result so far: 6.0
If we take 3036 away from 3153, we end up with 117.
Bring next digit (0) of the dividend behind the 117 and repeat the process: 1170 / 506

Let's proceed to step 5:
506 can be fit into 1170 2 times, resulting in a remainder of 158.
The number 2 becomes the next digit in our result. 
Result so far: 62.0
Subtracting 1012 from 1170 leaves us with 158.
Take the next digit (4) from the dividend and append it to 158, then repeat: 1584 / 506

Let's proceed to step 6:
1584 divided by 506 is 3 with a remainder of 66.
Write down 3 as next digit of the result. 
Result so far: 623.0
The remainder is 66 after subtracting 1518 from 1584.
Append the next digit (3) from the dividend to 66 and continue with: 663 / 506

On to step 7:
663 divided by 506 is 1 with a remainder of 157.
Write down 1 as next digit of the result. 
Result so far: 6231.0
Deduct 506 from 663 and we're left with 157.
Take the next digit (5) from the dividend and append it to 157, then repeat: 1575 / 506

On to step 8:
506 goes into 1575 3 times with a remainder of 57.
Use 3 as the next digit of our solution. 
Result so far: 62313.0
Deduct 1518 from 1575 and we're left with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Step 9:
If we divide 570 by 506, we get 1 and a remainder of 64.
Write down 1 as next digit of the result. 
Result so far: 62313.1
If we take 506 away from 570, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Let's proceed to step 10:
506 can be fit into 640 1 times, resulting in a remainder of 134.
Put 1 as the next digit of the answer. 
Result so far: 62313.11
Deduct 506 from 640 and we're left with 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

After the division, we end up with 62313.11 and a remainder of 0.134.