I need help with this exercise in DrRacket

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:


How to ask for help

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

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

How would you calcuate the first 5 numbers by hand?

1 Like