Re: Plot a recurrence relation
- To: mathgroup at smc.vnet.net
- Subject: [mg40188] Re: Plot a recurrence relation
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 25 Mar 2003 14:47:34 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <b5mj14$rsa$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, define a[0] = 6 a[n_Integer /; n > 0] := a[n] = a[n - 1]/(2(n - 1) - 7) ListPlot[Table[a[i], {i, 0, 20}]] Regards Jens David wrote: > > How can I get mathematica to plot a sequence that's defined recursively e.g. > > a_0 = 6 > a_(n+1) = a_n / (2n - 7) > > Cheers.