Just like Fibonacci numbers , there are L u c a ′ s numbers... They are defined by following recurrence relation. L 0 = 2 L 1 = 1 and L n = L n − 1 + L n − 2
Find the value of n = 0 ∑ 1 0 L n
Note :- I read about Luca's numbers at this problem in the tag recurrence relations, and i think the same thing as why the maker had chosen L 1 0 as asked answer, the same is why I also have chosen it to be sum till 10. After you get the answer, you'll come to know it, the answer number looks very good.
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.
If I'm not mistaken, this series progresses just like the series ϕ n + ϕ n 1 , where ϕ is the golden ratio, right?
Good solution, and sorry for being picky, but it's Lucas number (apostrophe not needed).
There is an easy way of solve this which is just noting the pattern of the summation.
S = L 0 + L 1 + L 2 + L 3 + L 4 + L 5 + L 6 + L 7 + L 8 + L 9 + L 1 0 sum every pair using the recurrence S = L 2 + L 4 + L 6 + L 8 + L 1 0 + L 1 0 add L 1 to both sides
S + L 1 = L 1 + L 2 + L 4 + L 6 + L 8 + L 1 0 + L 1 0
use the recurrence again repeatedly until completely simplified
S + L 1 = L 3 + L 4 + L 6 + L 8 + L 1 0 + L 1 0 S + L 1 = L 5 + L 6 + L 8 + L 1 0 + L 1 0 S + L 1 = L 7 + L 8 + L 1 0 + L 1 0 S + L 1 = L 9 + L 1 0 + L 1 0 S + L 1 = L 1 1 + L 1 0 S + L 1 = L 1 2 S = L 1 2 − L 1
Giving us S = 3 2 2 − 1 = 3 2 1
Using dynamic programming:
1 2 3 4 5 6 7 8 9 10 |
|
Good, I do like comp sci approaches to Math problems because that improves our skills, though not of maths! One of the biggest objectives of Brilliant.org is learning and this one helps people learn Computer Science! Kudos :)
Problem Loading...
Note Loading...
Set Loading...
The easy way to solve this is C O M P U T E the numbers manually, we see that they will be
2 , 1 , 3 , 4 , 7 , 1 1 , 1 8 , 2 9 , 4 7 , 7 6 , 1 2 3 . (Observe that L 1 0 = 1 2 3 , that's looking a good number :P 123 )
The sum of all these is n = 0 ∑ 1 0 L n = 2 + 1 + 3 + 4 + 7 + 1 1 + 1 8 + 2 9 + 4 7 + 7 6 + 1 2 3 = 3 2 1
The reason why I chose the number 1 0 in the problem is that L 1 0 is 1 2 3 and sum of terms till L 1 0 is 3 2 1 , mirror images ! That's a coincidence ....