From: jhmeyers@miu.edu (John H Meyers)
Subject: Re: Sequences and RND questions
Date: 24 Mar 1998 00:00:00 GMT
Message-ID: <6f88ir$2hu$3@news.iastate.edu>
References: <happy_4_me-2103981202180001@pool-207-205-163-134.nwrk.grid.net> <6f1bhi$cbe$1@front5.grolier.fr> <6f6ttv$t54$2@diana.bcn.ibernet.es>,<01bd56fb$be648280$6700000a@r286>
Reply-To: jhmeyers@miu.edu
Organization: MIU Computer Services,  Fairfield, IA 52557.  Not Approved.
Newsgroups: comp.sys.hp48


In article <01bd56fb$be648280$6700000a@r286>,
Christian Meland <christian.meland@pfi.no> writes:

> Try to make the fibonacci seq. with SEQ.
> f(1)=1, f(2)=1, f(n)=f(n-1)+f(n-2)

  \<< 1 0 \<< DUP2 + \>> 'X' 1 12 1 SEQ ROT ROT DROP2 \>>

  Adjust "12" to be the actual number of terms desired.

  In this case, the variable name 'X' is a "red herring" :)
  (Do they have those in Norway?)

-----------------------------------------------------------
With best wishes from:   John H Meyers   <jhmeyers@mum.edu>
