grg99
asked on
Stuttering calculator
Ok, take your average desk calculator.
type : 10 / 3 = = = =
Any reasonable explanation for the sequence you get?
type : 10 / 3 = = = =
Any reasonable explanation for the sequence you get?
Clearly 10 is being repeatedly by 3. For binary operations eg a*b, a/b, this is the way I think it works. I believe they have 2 registers holding the left hand value (displayed) and 1 holding the right hand. When = is hit (left) operator (right) is evaluated and placed in the display (ie the left register) and the right is unchanged. Repeatedly hitting = continuously divides the display value by the right value in this case 3
ASKER
yesbut how to explain the interesting numbes that pop up:
3.333333333333333333333333 3333333
1.111111111111111111111111 1111111
0.370370370370370370370370 37037037
0.123456790123456790123456 79012346
3.333333333333333333333333
1.111111111111111111111111
0.370370370370370370370370
0.123456790123456790123456
What's so special about that. Your last lint is missing an 8.
Seriously, you have found an interesting set of digits. I do not beleive there is any special reasoning behind them.
It is interesting to note that whenever you divide two intergers you will get an answer in which the digits will eventually repeat themselves.
Seriously, you have found an interesting set of digits. I do not beleive there is any special reasoning behind them.
It is interesting to note that whenever you divide two intergers you will get an answer in which the digits will eventually repeat themselves.
its simpler, just divide 10 / 81 ;-)))
but you miss the other interesting strings
0,098765432098765432098765 432098765. .. = 8 / 81 ;-)))
can be shown that the length of the repeating substring in <<1 / n>> is a divisor of the totient of <<n>>
in this case, <<9>> is a divisor of <<Phi( 81 ) = 81 - 27 = 54>>
in this case, <<9>> is a divisor of <<Phi( 81 ) = 81 - 27 = 54>>
some primes <<p>> have the longest repeating substring <<p - 1>>, being <<7>> the smallest one
<<1 / 7 = 0,142857142857142857142857 14285714.. .>>
<<1 / 7 = 0,142857142857142857142857
It's easy to see why these patterns occur if you try them using log division.
It's easy to see why these patterns occur if you try them using LONG division.
ASKER
some primes <<p>> have the longest repeating substring <<p - 1>>, being <<7>> the smallest one
<<1 / 7 = 0,142857142857142857142857 14285714.. .>>
IIRC:
What's even more interesting, TWO sevenths is: .285714285714....., FOUR sevents is .57142857....
<<1 / 7 = 0,142857142857142857142857
IIRC:
What's even more interesting, TWO sevenths is: .285714285714....., FOUR sevents is .57142857....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the points :-)