Sandeep is in love, and on the valentine's day he had his own plans, he thought of presenting his love with another beautiful gift.
But his girlfriend strangely gave him a test, and said that only if he passes this test she will truly accept him as a lover, and the question was: "How many gifts did you present me in the until the kiss day?"
But he was not a world memory champion, so he couldn't remember the exact number. But he was clever enough to have made a polynomial that gives the number of gifts he presented until a given day, but he remembers only this:
He remembers that it was a degree polynomial with leading coefficient 2 . And we know that kiss day is the day of the Valentine's week, so what is ?
This is my submission for the Valentine's day celebrations , Please upvote my comment if you like it!
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.
Construct P ( x ) = 2 ( x − 1 ) ( x − 2 ) ( x − 3 ) ( x − 4 ) ( x − 5 ) + x 2 . So P ( 6 ) = 2 × 5 ! + 3 6 = 2 4 0 + 3 6 = 2 7 6