HP 38G: Better than Prime for some Sequences using the built in Sequence App
|
03-07-2015, 12:25 PM
(This post was last modified: 03-07-2015 12:26 PM by Gerald H.)
Post: #30
|
|||
|
|||
RE: HP 38G: Better than Prime for some Sequences using the built in Sequence App
(03-07-2015 11:58 AM)BruceH Wrote:(03-07-2015 11:39 AM)Marcus von Cube Wrote: 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. Excellent stuff. Input 9999 & answer returned in 45 sec. A student of mine confirms 5372 is the correct answer. Once again bravo, BruceH. Concerning revenge, 'tis sweet, & so is learning something new. Edit: Title of thread updated. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)