Re: Easy question: Infinite Series, Infinite Sequences
- To: mathgroup@smc.vnet.net
- Subject: [mg10366] Re: [mg10339] Easy question: Infinite Series, Infinite Sequences
- From: jpk@max.mpae.gwdg.de
- Date: Mon, 12 Jan 1998 04:10:00 -0500
I haven't been able to find a command which
> outputs a list of the first n terms of some arbitrary sequence,
> however. For instance, I am looking for something like:
>
> (input) ListSequence[1/2^k, {k, 0, 5}] (output) {1, 1/2, 1/4, 1/8,
> 1/16}
Hi Brandon,
Table[1/2^k,{k,0,5}]
will do what You want.
Hope that helps
Jens