Question

Ln 2 1 (Ln-1 + Ln-2 if n= 0 if n = 1 if n >1

The sequence of the first twelve Lucas numbers is: 2,1,3,4,7,11,18,29,47 …

Please write a program for calculating the Lucas number Ln given the number n. Print out the results given:

a) n=2 ; b) n=5 and c) n=10

(**please answer in Python**)

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
The sequence of the first twelve Lucas numbers is: 2,1,3,4,7,11,18,29,47 … Please write a program for...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT