Best calculator for recurrence relations
02-25-2020, 03:08 PM (This post was last modified: 02-25-2020 03:10 PM by Csaba Tizedes.)
Post: #11
 Csaba Tizedes Senior Member Posts: 495 Joined: May 2014
RE: Best calculator for recurrence relations
(02-23-2020 07:09 PM)John Keith Wrote:  Neat, but can you do this with SEQ?

a(1)=a(2)=1; for n>2, a(n)=a(a(n-2))+a(n-a(n-2))
1, 1, 2, 3, 3, 4, 5, 6, 6, 7, 7, 8, 9, 10, 10, 11, 12, 12, 13, 14, 15, 16, 16, 17, 17, 18, 19, 19, ...

I don't know how it is works on HPs, but on TI-83 you can do something like this:

first decide the max. index of your list: N
then generate the list, let's say Z: seq(1,X,1,N,1)->LZ
finally generate the sequence: augment({1,1},seq(LZ(LZ(X-2))+LZ(X-LZ(X-2)),X,3,N,1))->LZ
and press ENTER until the result list is not change.

Just an idea, must to check, but I'm sure it is works.

There are models where sequences are implemented, maybe you can do it on those models (HP38/39 models, some CASIO models), but I am not sure the result is a list, maybe a table in an application.

Csaba
 « Next Oldest | Next Newest »

 Messages In This Thread Best calculator for recurrence relations - carey - 02-18-2020, 03:50 AM RE: Best calculator for sequences (recurrence relations) - Gerald H - 02-18-2020, 05:21 AM RE: Best calculator for sequences (recurrence relations) - John Keith - 02-18-2020, 02:05 PM RE: Best calculator for sequences (recurrence relations) - Dave Britten - 02-18-2020, 01:07 PM RE: Best calculator for sequences (recurrence relations) - Gerald H - 02-18-2020, 08:29 PM RE: Best calculator for sequences (recurrence relations) - David Hayden - 02-18-2020, 09:30 PM RE: Best calculator for sequences (recurrence relations) - Dave Britten - 02-18-2020, 10:08 PM RE: Best calculator for sequences (recurrence relations) - John Keith - 02-19-2020, 06:12 PM RE: Best calculator for recurrence relations - Gerald H - 02-23-2020, 10:54 AM RE: Best calculator for recurrence relations - John Keith - 02-23-2020, 07:09 PM RE: Best calculator for recurrence relations - Csaba Tizedes - 02-25-2020 03:08 PM RE: Best calculator for recurrence relations - Dave Britten - 02-25-2020, 04:14 PM RE: Best calculator for recurrence relations - DavidM - 02-25-2020, 07:15 PM RE: Best calculator for recurrence relations - John Keith - 02-25-2020, 08:01 PM RE: Best calculator for recurrence relations - DavidM - 02-26-2020, 03:28 PM RE: Best calculator for recurrence relations - John Keith - 02-26-2020, 07:56 PM

User(s) browsing this thread: 1 Guest(s)