We look at the division of 631427 by 59 
The aim is to understand the frequency of 59 in 631427.

On to step 1:
59 goes into 6 0 times with a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (3) from the dividend, add it to 6, then carry on: 63 / 59

On to step 2:
63 divided by 59 is 1 with a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 59 from 63 to get 4.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 59

Moving on to step 3:
41 divided by 59 is 0 with a remainder of 41.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
If we subtract 0 from 41, we get 41.
Bring next digit (4) of the dividend behind the 41 and repeat the process: 414 / 59

Moving on to step 4:
When dividing 414 by 59, we get 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 107.0
Deduct 413 from 414 and we're left with 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 59

Going ahead to step 5:
If we divide 12 by 59, we get 0 and a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 1070.0
Deduct 0 from 12 and we're left with 12.
Include the next digit (7) from the dividend after 12, then repeat: 127 / 59

On to step 6:
The number 59 fits into 127 2 times, leaving a remainder of 9.
Use 2 as the next digit of our solution. 
Result so far: 10702.0
Subtracting 118 from 127 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 7:
59 can be fit into 90 1 times, resulting in a remainder of 31.
Use 1 as the next digit of our solution. 
Result so far: 10702.1
Subtract 59 from 90 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Let's proceed to step 8:
59 can be fit into 310 5 times, resulting in a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 10702.15
Deduct 295 from 310 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 9:
59 can be fit into 150 2 times, resulting in a remainder of 32.
Record the quotient 2 as the next digit in the result. 
Result so far: 10702.152
If we subtract 118 from 150, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 10:
The number 59 fits into 320 5 times, leaving a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 10702.1525
Subtracting 295 from 320 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 11:
When dividing 250 by 59, we get 4 with a remainder of 14.
The next digit of our result is 4. 
Result so far: 10702.15254
Subtracting 236 from 250 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 12:
59 can be fit into 140 2 times, resulting in a remainder of 22.
The number 2 becomes the next digit in our result. 
Result so far: 10702.152542
Deduct 118 from 140 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 13:
The number 59 fits into 220 3 times, leaving a remainder of 43.
Use 3 as the next digit of our solution. 
Result so far: 10702.1525423
If we take 177 away from 220, we end up with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Moving on to step 14:
59 goes into 430 7 times with a remainder of 17.
The number 7 becomes the next digit in our result. 
Result so far: 10702.15254237
Subtracting 413 from 430 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

The quotient of the division is 10702.15254237, and the remainder is 1.7e-08.