Golden Ratio Base

The golden ratio ϕ \phi is the larger positive root to x 2 = x + 1 x^2 = x + 1 .

We can calculate that

ϕ 0 = 1 , ϕ 1 = ϕ , ϕ 1 = ϕ 1 , ϕ 2 = ϕ + 1 , ϕ 2 = ϕ + 2 , ϕ 3 = 2 ϕ + 1 , ϕ 3 = 2 ϕ 3. \begin{array} { l l } \phi^0 = 1, & \\ \phi^1 = \phi, &\phi^{-1} = \phi - 1, \\ \phi^2 = \phi + 1, & \phi^{-2} = -\phi + 2, \\ \phi^3 = 2\phi + 1, & \phi^{-3} = 2\phi -3 . \\ \end{array}

This allows us to write numbers in base ϕ \phi , where each place value is a non-negative integer less than ϕ \phi . For example,
1 = 1 = 1 ϕ 2 = ϕ + ( ϕ + 2 ) = 10.0 1 ϕ 3 = ( ϕ + 1 ) + ( ϕ + 2 ) = 100.0 1 ϕ . \begin{array} { l l l l l l } 1 & = & 1 & = & 1 _\phi \\ 2 & = & \phi + (-\phi + 2) & = & 10.01_\phi \\ 3 & = & (\phi+1) + (-\phi + 2) & = & 100.01 _\phi. \end{array}

Give the finite decimal representation of 5 in base ϕ \phi that doesn't use a consecutive pair of 1's.

(You may assume the fact that a finite decimal representation with no consecutive pair of 1's is unique. This is known as the standard form for base ϕ \phi .)


The answer is 1000.1001.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Chung Kevin
Jan 20, 2017

Here's a way to calculate each number inductively.

Add 1 to the units place.
If there is a 2, replace it with 10.01 10.01 .
If there is a 11, replace it with 100 100 .
Eventually, the 1's are spread out sufficiently, so that there isn't a 2 or a 11 in the sequence, and so we're done.


In the case of 4, we're just doing the first step 3 + 1 = 100.0 1 ϕ + 1 ϕ = 101.0 1 ϕ 3 + 1 = 100.01_\phi + 1 _\phi = 101.01_\phi , which is why I didn't ask about 4.

In the case of 5, we get 4 + 1 = 101.0 1 ϕ + 1 ϕ = 102.0 1 ϕ = 110.0 2 ϕ = 110.100 1 ϕ = 1000.100 1 ϕ 4 + 1 = 101.01_\phi + 1_\phi = 102.01_\phi = 110.02_\phi = 110.1001_\phi = 1000.1001_\phi .


We could also use multiplication to calculate larger values, and then do the removal of 2's and 11's. For example, with 2 and 3, we get

6 = 2 × 3 = 10.0 1 ϕ × 100.0 1 ϕ = 1001.100 1 ϕ = 1010.000 1 ϕ 6 = 2 \times 3 = 10.01_\phi \times 100.01 _\phi = 1001.1001_ \phi = 1010.0001_\phi

The great thing about multiplication in base ϕ \phi (and also in base 2), is that it works just like multiplication in base 10! We then have to deal with the non-0's or 1's by reducing them term by term.

Moderator note:

As it turns out, there is a unique way to represent every positive integer as a finite decimal in base ϕ \phi with no consecutive 11. These 2 requirements are known as standard form in base ϕ \phi . The requirement of finite is needed because 1 = 0.101010 ϕ 1 = 0.101010\ldots _ \phi . The requirement of "no consecutive 1's" is needed since 1 1 ϕ = 100 ϕ 11_\phi = 100 \phi .

The existence of a standard form for integers follows from Chung's argument of "eventually the 1's are spread out". In particular, we can conclude that the number of 1's is at most n n .

Uniqueness in standard form for integers follows from this argument:
Suppose that N = f i ϕ i = g i ϕ i N = \sum f_i \phi ^i = \sum g_i \phi ^ i are 2 different standard form representations of N N . Let k k be the largest power in which the coefficients differ, and without loss of generality, f k = 1 , g k = 0 f_k = 1, g_k = 0 .
Claim: i < k g i ϕ i < j = 0 ϕ k 1 2 j = ϕ k i k f i ϕ i \displaystyle \sum_{i < k} g_i \phi^i < \sum_{j=0}^{\infty} \phi^{k-1-2j} = \phi^k \leq \sum_{i \leq k } f_i \phi ^i .
The first inequality follows because no two consecutive ones appear, and the inequality is strict because of the finiteness condition.
This leads a contradiction, since n = g i ϕ i < f i ϕ i = n n = \sum g_i \phi^i < \sum f_i \phi^i = n .

We first note that, since ϕ < 2 \phi \lt 2 , we can only have a string of 0 0 's and 1 1 's for any number base ϕ \phi . So we can only add at most one of each ϕ n \phi^{n} as calculated above. As ϕ 2 \phi^{-2} is the only such term that results in a subtraction of ϕ \phi , we will not be able to add any combination of the presently calculated ϕ n \phi^{n} in order to get the desired "numeric" component of 5 5 . So we will need to calculate further values of ϕ n \phi^{n} :

  • ϕ 4 = ( ϕ 2 ) 2 = ( ϕ + 1 ) 2 = ϕ 2 + 2 ϕ + 1 = 3 ϕ + 1 \phi^{4} = (\phi^{2})^{2} = (\phi + 1)^{2} = \phi^{2} + 2\phi + 1 = 3\phi + 1 ;

  • ϕ 4 = ( ϕ 2 ) 2 = ( ϕ + 2 ) 2 = ϕ 2 4 ϕ + 4 = 3 ϕ + 5 \phi^{-4} = (\phi^{-2})^{2} = (-\phi + 2)^{2} = \phi^{2} - 4\phi + 4 = -3\phi + 5 .

Now we can find a suitable combination, namely

5 = ( 2 ϕ + 1 ) + ( ϕ 1 ) + ( 3 ϕ + 5 ) = ϕ 3 + ϕ 1 + ϕ 4 = 1000.1001 5 = (2\phi + 1) + (\phi - 1) + (-3\phi + 5) = \phi^{3} + \phi^{-1} + \phi^{-4} = \boxed{1000.1001} base ϕ \phi .

@Chung Kevin This is an interesting question. I'm wondering about uniqueness, though, as we could also have, say,

1 = ( ϕ 1 ) + ( 2 ϕ 3 ) + ( 3 ϕ + 5 ) = ϕ 1 + ϕ 3 + ϕ 4 = 0.1011 1 = (\phi - 1) + (2\phi - 3) + (-3\phi + 5) = \phi^{-1} + \phi^{-3} + \phi^{-4} = 0.1011 ,

2 = ( ϕ ) + ( 2 ϕ 3 ) + ( 3 ϕ + 5 ) = ϕ 1 + ϕ 3 + ϕ 4 = 10.0011 2 = (\phi) + (2\phi - 3) + (-3\phi + 5) = \phi^{1} + \phi^{-3} + \phi^{-4} = 10.0011 and

3 = ( ϕ + 1 ) + ( 2 ϕ 3 ) + ( 3 ϕ + 5 ) = ϕ 2 + ϕ 3 + ϕ 4 = 100.0011 3 = (\phi + 1) + (2\phi - 3) + (-3\phi + 5) = \phi^{2} + \phi^{-3} + \phi^{-4} = 100.0011 .

which makes me wonder if we can't find other ways of expressing 5 5 if we look at further ϕ n \phi^{n} . The posted answer may be unique, but I'm just not sure.

Brian Charlesworth - 4 years, 4 months ago

Log in to reply

I have to add the condition that no consecutive 1's is allowed, because 1 1 ϕ = 100 ϕ 11_\phi = 100 \phi .

With that, it becomes unique (according to Wikipedia ).

Chung Kevin - 4 years, 4 months ago

4 = 101.0 1 ϕ = ϕ 2 + ϕ 0 + ϕ 2 4 = 101.01_\phi = \phi^2 + \phi^0 + \phi^{-2} .

The "trick" that I do to calculate each subsequent number, is to

  • Add 1 to the unit place.
  • If there is a 2, replace it with 10.01 10.01 .
  • If there is a 11, replace it with 100 100 .

Eventually, the 1's are spread out sufficiently, so that there isn't a 2 or a 11 in the sequence, and so we're done.

In the case of 4, we're just doing the first step 3 + 1 = 100.0 1 ϕ + 1 ϕ = 101.0 1 ϕ 3 + 1 = 100.01_\phi + 1 _\phi = 101.01_\phi , which is why I didn't ask about 4.
In the case of 5, we get 4 + 1 = 101.0 1 ϕ + 1 ϕ = 102.0 1 ϕ = 110.0 2 ϕ = 110.100 1 ϕ = 1000.100 1 ϕ 4 + 1 = 101.01_\phi + 1_\phi = 102.01_\phi = 110.02_\phi = 110.1001_\phi = 1000.1001_\phi .

Chung Kevin - 4 years, 4 months ago

Log in to reply

Great to know that there's a method. I was going at it rather haphazardly. I hadn't realized that all non-negative real numbers can be written in base ϕ \phi using just 0 0 's and 1 1 's, (with no 11 11 subsequences to guarantee uniqueness).

Brian Charlesworth - 4 years, 4 months ago

Log in to reply

The requirement of finite is needed because 1 = 0.101010 ϕ 1 = 0.101010\ldots _ \phi . The requirement of "no consecutive 1's" is needed since 1 1 ϕ = 100 ϕ 11_\phi = 100 \phi . These are the 2 requriements of standard form .

The existence of a standard form for integers follows from Chung's argument of "eventually the 1's are spread out".

Uniqueness in standard form for integers follows from this argument:
Suppose that N = f i ϕ i = g i ϕ i N = \sum f_i \phi ^i = \sum g_i \phi ^ i are 2 different standard form representations of N N . Let k k be the largest power in which the coefficients differ, and without loss of generality, f k = 1 , g k = 0 f_k = 1, g_k = 0 .
Claim: i < k g i ϕ i < j = 0 ϕ k 1 2 j = ϕ k i k f i ϕ i \sum_{i < k} g_i \phi^i < \sum_{j=0}^{\infty} \phi^{k-1-2j} = \phi^k \leq \sum_{i \leq k } f_i \phi ^i .
The first inequality follows from no two consecutive ones appear, and the inequality is strict because of the finiteness condition. This leads a contradiction, since these representations are not equal.

Calvin Lin Staff - 4 years, 4 months ago

I typed in answer as 1000.1001, it corrected itself to 1000.1, this question requires precision.

Siva Bathula - 4 years, 4 months ago
Anirudh Sreekumar
Jan 20, 2017

we have, ϕ 3 + 2 ϕ 2 = 5 \phi^{3}+2\phi^{-2}=5

also we know that, ϕ 1 + ϕ 2 = 2 \phi^{1}+\phi^{-2}=2 (given)

substituting for 2 we get,

ϕ 3 + ( ϕ 1 + ϕ 2 ) ϕ 2 = 5 \phi^{3}+(\phi^{1}+\phi^{-2})\phi^{-2}=5

thus we get ϕ 3 + ϕ 1 + ϕ 4 = 5 = 1000.1001 ϕ \phi^{3}+\phi^{-1}+\phi^{-4}=5=\boxed{1000.1001}_\phi

Your first line. Is it true? Where do you get this from?

Aviel Livay - 4 years, 3 months ago

The information that ϕ 3 = 2 ϕ + 1 \phi^{3}=2\phi+1 and ϕ 2 = ϕ + 2 \phi^{-2}=-\phi+2 is provided in the question

multiplying the second equation by 2 and adding to the first we get

ϕ 3 + 2 ϕ 2 = 5 \phi^{3}+2\phi^{-2}=5

Anirudh Sreekumar - 4 years, 3 months ago
Aviel Livay
Mar 6, 2017

2 = 10.0 1 ϕ 2=10.01_\phi actually means 2 = ϕ + 1 ϕ 2 2=\phi+\frac{1}{\phi^2}
3 = 100.0 1 ϕ 3=100.01_\phi actually means 3 = ϕ 2 + 1 ϕ 2 3={\phi}^2+\frac{1}{\phi^2}
Let's multiply these two
6 = ( ϕ + 1 ϕ 2 ) ( ϕ 2 + 1 ϕ 2 ) = ϕ 3 + 1 ϕ + 1 + 1 ϕ 4 6=(\phi+\frac{1}{\phi^2})(\phi^2+\frac{1}{\phi^2})=\phi^3+\frac{1}{\phi}+1+\frac{1}{\phi^4}
So
5 = ϕ 3 + 1 ϕ + 1 ϕ 4 5=\phi^3+\frac{1}{\phi}+\frac{1}{\phi^4}
Which means
1000.100 1 ϕ \boxed{1000.1001_\phi}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...