Incredible Function

Algebra Level 5

Let f : N N f:\mathbb N\mapsto \mathbb N be a strictly increasing function that satisfies f ( f ( n ) ) = 3 n f(f(n))=3n for all natural numbers n n . Find the value of f ( 2014 ) f(2014) .


The answer is 3855.

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.

1 solution

Souryajit Roy
Jul 24, 2014

We have, f ( f ( n ) ) = 3 n f(f(n))=3n and hence, f ( 3 n ) = f ( f ( f ( n ) ) ) = 3 f ( n ) f(3n)=f(f(f(n)))=3f(n)

f ( 3 ) = 3 f ( 1 ) f(3)=3f(1) .

Suppose f ( 1 ) = 1 f(1)=1

Hence, 3 = 3 1 = 3 f ( 1 ) = f ( f ( 1 ) ) = f ( 1 ) = 1 3=3\cdot 1=3f(1)=f(f(1))=f(1)=1 which is absurd.So f ( 1 ) > 1 f(1)>1

Now, 3 = f ( f ( 1 ) ) > f ( 1 ) > 1 3=f(f(1))>f(1)>1

Hence, f ( 1 ) = 2 f(1)=2 .So, f ( 2 ) = f ( f ( 1 ) ) = 3 f ( 1 ) = 3 f(2)=f(f(1))=3f(1)=3

Also, f ( 3 ) = 3 f ( 1 ) = 6 f(3)=3f(1)=6 .Again, f ( 6 ) = f ( 3.2 ) = 3 f ( 2 ) = 9 f(6)=f(3.2)=3f(2)=9

Now, 6 = f ( 3 ) < f ( 4 ) < f ( 5 ) < f ( 6 ) = 9 6=f(3)<f(4)<f(5)<f(6)=9 .So, f ( 4 ) = 7 f(4)=7 and f ( 5 ) = 8 f(5)=8

Hence, f ( 7 ) = f ( f ( 4 ) ) = 3.4 = 12 f(7)=f(f(4))=3.4=12 , f ( 8 ) = f ( f ( 5 ) ) = 15 f(8)=f(f(5))=15 , f ( 9 ) = f ( f ( 6 ) ) = 18 f(9)=f(f(6))=18 and f ( 1 ) = f ( f ( 7 ) ) = 21 f(1)=f(f(7))=21 .

Now, f ( 9 ) = 18 < f ( 10 ) < f ( 11 ) < f ( 12 ) = 21 f(9)=18<f(10)<f(11)<f(12)=21

So, f ( 10 ) = 19 , f ( 11 ) = 20 f(10)=19,f(11)=20

From the above computation of several initial values of f ( n ) f(n) one may guess the pattern how f(n) are formed.But,if still one cannot find f(n),look below.

Let 3 m n < 2. 3 m 3^{m}≤n<2.3^{m} .

Now, f ( 3 m ) = 3 m f ( 1 ) = 2. 3 m f(3^{m})=3^{m}f(1)=2.3^{m} and f ( 2. 3 m ) = f ( f ( 3 m ) = 3 m + 1 f(2.3^{m})=f(f(3^{m})=3^{m+1}

Now, 2. 3 m = f ( 3 m ) < f ( 3 m + 1 ) < . . . < f ( 3 m + 3 m 1 ) < f ( 2. 3 m ) = 3 m + 1 2.3^{m}=f(3^{m})<f(3^{m}+1)<...<f(3^m+3^m-1)<f(2.3^{m})=3^{m+1} .

Hence, f ( 3 m + j ) = 2. 3 m + j f(3^m+j)=2.3^{m}+j for 0 j 3 m 0≤j≤3^{m}

Thus, f ( n ) = n + 3 m f(n)=n+3^{m} for all n such that 3 m n 2. 3 m 3^{m}≤n≤2.3^{m}

If 2. 3 m n 3 m + 1 2.3^{m}≤n≤3^{m+1} then n = 2. 3 m + j n=2.3^{m}+j where 0 j 2. 3 m 0≤j≤2.3^{m}

Therefore, f ( n ) = f ( 2. 3 m + j ) = f ( f ( 3 m + j ) ) = 3 m + 1 + 3 j = 3 n 3 m + 1 f(n)=f(2.3^{m}+j)=f(f(3^{m}+j))=3^{m+1}+3j=3n-3^{m+1}

Now,note that 2. 3 6 < 2014 < 3 7 2.3^{6}<2014<3^{7} .

So, f ( 2014 ) = 3.2014 3 7 = 3855 f(2014)=3.2014-3^{7}=3855

People should stop duplicating these question, there are already 2 very similar ones here and here . There are also 2 another very similar ones explained on the Internet here and here .

mathh mathh - 6 years, 10 months ago

Log in to reply

I actually didn't duplicate this question....I came across it in a exercise of a book.....I didn't know that the same problem was posted previously .....still I'm sorry

Souryajit Roy - 6 years, 10 months ago

Well I think brilliant community ques should be unique Otherwise its not quite right to give points on ques aldready knowm

A Former Brilliant Member - 6 years, 10 months ago

I took f(n) = (3)^[1/2]. * n Then the answer is something else

Mohinder Goyal - 6 years, 10 months ago

Log in to reply

Note:-the function's range is natural numbers not real...!

Ramesh Goenka - 6 years, 10 months ago

Yes answer can be f(n)= sqrt(3) n implies f(2014)= sqrt(3) 2014 ~= 3488

Sowmya Manukonda - 6 years, 10 months ago

f(n) = n √3

Answer is not correct.

Mohinder Goyal - 6 years, 10 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...