Welcome to Westonci.ca, your one-stop destination for finding answers to all your questions. Join our expert community now! Get detailed answers to your questions from a community of experts dedicated to providing accurate information. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform.

The sequence [tex]x_{n}[/tex] is defined, for n > 2, by the recursive formula

[tex]x_{n}[/tex] = [tex]2x_{n - 1}[/tex] + [tex]x_{n - 2}[/tex] where [tex]x_{1}[/tex] = 2 and [tex]x_{2}[/tex] = 3.

Write a program that first invites the user to input a natural number n. Then compute the n-th number in the sequence [tex]x_{n}[/tex] and display it appropriately to the user.

(The solution has to be in the Python programming language!)