Post Reply 
HP 38G: Better than Prime for some Sequences using the built in Sequence App
03-07-2015, 10:58 AM
Post: #21
RE: HP 38G: Better than Prime for Sequences
(03-07-2015 10:53 AM)Gerald H Wrote:  I entered the prog exactly as above, respecting capitalization.

I have read elsewhere on the forum that capitals or uncials can make all the difference. I shall try.

Just tested on the Prime and it works.

For convenience here the full program:
Code:
EXPORT TT(n)
BEGIN
  IF n<=2 THEN
    RETURN(1);
  ELSE
    LOCAL TT1:=TT(n-1);
    RETURN(TT(TT1)+TT(n-TT1));
  END;
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP 38G: Better than Prime for Sequences - Thomas Ritschel - 03-07-2015 10:58 AM



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