Post Reply 
HP 38G: Better than Prime for some Sequences using the built in Sequence App
03-07-2015, 12:01 PM
Post: #28
RE: HP 38G: Better than Prime for Sequences
(03-07-2015 11:39 AM)Marcus von Cube Wrote:  
(03-07-2015 11:29 AM)Gerald H Wrote:  On the 38G 99 takes 122sec

& 40gs takes 39 sec.

The performance of the Prime is disappointing.

There is a reason: The implementation with the TT routine evaluates each element of the sequence from scratch while the sequence app recurses on the previous results. Maybe storing the previous values in a list instead of performing a recursive call will give better run times. This of course makes the calls to TT not independent from each other.

Indeed.

All the more reason to regret that the Sequence App in the Prime can't do the calculation as easily as it's useless predecessors.
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 - Gerald H - 03-07-2015 12:01 PM



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