Photoelectric Primes

Algebra Level 5

Shivamani thinks that he has found a cubic polynomial f ( x ) f(x) such that f ( n ) = n f\left( n \right) =n -th prime number. He found that

{ f ( 1 ) = 2 f ( 2 ) = 3 f ( 3 ) = 5 f ( 4 ) = 7 \begin{cases} {f(1) = 2} \\ {f(2) = 3 } \\ {f(3) = 5} \\ { f(4) = 7} \end{cases}

Help him find the value of f ( 5 ) f(5) .

This problem is original.


The answer is 8.

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.

2 solutions

Patrick Corn
Jul 8, 2015

Let h ( x ) = f ( x ) 2 x + 1 h(x) = f(x)-2x+1 . Then h ( 1 ) = 1 , h ( 2 ) = h ( 3 ) = h ( 4 ) = 0 h(1) = 1, h(2) = h(3) = h(4) = 0 . Since h h is cubic, it must equal 1 6 ( x 2 ) ( x 3 ) ( x 4 ) -\frac16(x-2)(x-3)(x-4) . So f ( x ) = 2 x 1 1 6 ( x 2 ) ( x 3 ) ( x 4 ) f(x) = 2x-1-\frac16(x-2)(x-3)(x-4) , so f ( 5 ) = 8 f(5) = \fbox{8} .

Moderator note:

Nice loophole! I wonder how would we solve for f ( 6 ) f(6) if we were further given that f ( 5 ) = 11 f(5 ) = 11 .

I used a chart to find the third difference then went backwards.

Anthony Pham - 5 years, 11 months ago

Log in to reply

Ya method of differences can be used here:)

shivamani patil - 5 years, 11 months ago

Then a cubic polynomial wouldn't have sufficed You would need a biquadratic polynomial (5 unknowns)

Karan Jain - 5 years, 11 months ago

Answer to challenge master

f ( 6 ) = 22 f(6)=22 in that case

Michael Mendrin - 5 years, 11 months ago

Log in to reply

How did you find it?

shivamani patil - 5 years, 8 months ago

I used the method of differences!

Swapnil Das - 5 years, 11 months ago

I solved in a kinda-longway solution, and Mr Corn solution was fantastic, I don't know how he came up with that 2x - 1, but here's my solution: f(x) is a cubic polynomial so it can be written as : ax^3 + bx^2 + cx + d (a, b, c, d are real numbers ) with every varies of f(x) we receive an equation, we have for equations, four unknowns (a,b,c,d ). After solving the above you will have a = -1/6 , b = 3/2 , c= -7/3, d = 3. Sub x=5 with the cubic polynomial you've just found you receice f(5) = 8

i did it the same way

A Former Brilliant Member - 4 years, 7 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...