Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

DISCUSS: A Different Type of Recursion Find the first ten terms of the sequence defined by an=an-an-1+an-an-2with a1=1anda2=1

How is this recursive sequence different from the others in this section?

Short Answer

Expert verified

The first ten step of the an=an-an-1+an-an-1 will be 1,1,2,2,2,2,2,2,2,2..

Step by step solution

01

Step 1.Given information.

Given: a1=1anda2=1

02

Step 2. Find the first ten terms.

Use the given formula.

First of all, the sequence is recursive. for finding stepa3we need to findan-1

Here,a2=1that's why:

For n=3,

a{3}=a{3a3}+a{3a2}=a{2}+a{2}=1+1=2

For n=4,

a{4}=a4a3+a4a2         =a{2}+a{3}        =1+2        =3

For n=5,

a{5}=a5a4+a5a3        =a{2}+a{3}        =1+2         =3

For n=6,

a{6}=a6a5+a6a4        =a{3}+a{3}        =3+3       =6

For n=7,

a{7}=a7a6+a7a5        =a{1}+a{4}        =1+3        =4

For n=8,

a{8}=a8a7+a8a6=a{4}+a{2}=3+1=4

For n=9,

a{9}=a9a8+a9a7=a{5}+a{5}=3+3=6

For n=10,

a{10}=a10a9+a10a8=a{4}+a{6}=3+6=9

Hence, first ten terms of the sequence are 1,1,2,3,3,6,4,4,6,9

If we talk about a burst of 3 digits then first 2 terms of each burst are the same but the third digit is different,
1st,2ndis the same but3rdis different, 4th,5th is the same but 6th is different.
This pattern is followed in the entire sequence.
Hence this pattern differentiate this sequence from others give in this section.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free