Post Reply 
HP Prime: Programming the sequence app
03-12-2015, 09:53 AM
Post: #3
RE: HP Prime: Programming the sequence app
(03-12-2015 08:25 AM)Didier Lachieze Wrote:  Is this what you're looking for?

Code:
EXPORT InitSeq()
BEGIN
LOCAL i;
  Sequence.U1:="2*N-U5(N)";
  Sequence.U2:="N-U6(N)+N^2";
  Sequence.U3:="2*N+U5(N)";
  Sequence.U4:="N+U6(N)+N^2";
  Sequence.U5:="ROUND(√(2*N),0)";
  Sequence.U6:="(U5(N)*(6*N+1-U5(N)^2))/6";
  FOR i FROM 1 TO 6 DO
    Sequence.CHECK(i);
  END;
END;

Yes, very much what I wanted, much more economical than keeping a whole app reserved for the one series.

Probably easy for you but for someone as ignorant as me in programming the Prime very helpful

Thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP Prime: Programming the sequence app - Gerald H - 03-12-2015 09:53 AM



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