very basic RecurrenceTable puzzle
- To: mathgroup at smc.vnet.net
- Subject: [mg130711] very basic RecurrenceTable puzzle
- From: Alan <alan.isaac at gmail.com>
- Date: Sat, 4 May 2013 03:19:41 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
RecurrenceTable[{st[t] == If[t < 2, st[t - 1], 1], st[-1] == 0}, st, {t, -1, 5}] produces {0, st[-1], st[0], 1, 1, 1, 1} I'm not seeing why the output contains st[-1] and st[0] instead of 0s. Note that RecurrenceTable[{st[t] == st[t - 1], st[-1] == 0}, st, {t, -1, 5}] produces a list of zeros (i.e., no surprises). Thanks, Alan Isaac
- Follow-Ups:
- Re: very basic RecurrenceTable puzzle
- From: Bob Hanlon <hanlonr357@gmail.com>
- Re: very basic RecurrenceTable puzzle
- From: Bob Hanlon <hanlonr357@gmail.com>
- Re: very basic RecurrenceTable puzzle