MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Plot a recurrence relation


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.


  • Prev by Date: Re: proper way to manipulate lists?
  • Next by Date: Re: The difference between Needs[ ] & Get[ ]
  • Previous by thread: Re: Plot a recurrence relation
  • Next by thread: List in base 16