Hello, I'm trying to solve this exercise but I can't

Consider the recurrence relation:

Write a tail recursive function that calculate the nth term of the sequence, with the

starting initials: 𝑎0 = 𝑎1 = 1

for example:

Hello, I'm trying to solve this exercise but I can't

Consider the recurrence relation:

Write a tail recursive function that calculate the nth term of the sequence, with the

starting initials: 𝑎0 = 𝑎1 = 1

for example:

Hi

Here's a checklist to make things easier when asking for help, in order:

- What is the task?
- How far have you come? (Provide the smallest working example of your problem if you can)
- What exactly are you struggling with?
- What approaches have you tried to solve it?

2 Likes

How would you calcuate the first 5 numbers by hand?

1 Like