We divide 505497 by 38
The aim is to understand the frequency of 38 in 505497.

On to step 1:
When dividing 5 by 38, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 38

Let's proceed to step 2:
The number 38 fits into 50 1 times, leaving a remainder of 12.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 38 from 50 and we're left with 12.
Bring next digit (5) of the dividend behind the 12 and repeat the process: 125 / 38

Let's proceed to step 3:
38 goes into 125 3 times with a remainder of 11.
Use 3 as the next digit of our solution. 
Result so far: 13.0
If we subtract 114 from 125, we get 11.
Grab the next digit (4) from the dividend, add it to 11, then carry on: 114 / 38

Advancing to step 4:
38 goes into 114 3 times with a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 133.0
Subtracting 114 from 114 leaves us with 0.
Append the next digit (9) from the dividend to 0 and continue with: 9 / 38

Going ahead to step 5:
The number 38 fits into 9 0 times, leaving a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 1330.0
If we subtract 0 from 9, we get 9.
Fetch the next digit (7) from the dividend, attach it to 9 and continue: 97 / 38

Let's proceed to step 6:
38 can be fit into 97 2 times, resulting in a remainder of 21.
The next digit of our result is 2. 
Result so far: 13302.0
If we subtract 76 from 97, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 7:
The number 38 fits into 210 5 times, leaving a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 13302.5
If we take 190 away from 210, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 8:
200 divided by 38 is 5 with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 13302.55
Subtracting 190 from 200 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Our division results in 13302.55 with a remaining 0.01.