Group Abstract Group Abstract

Message Boards Message Boards

0
|
7.4K Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

RecurrenceTable strange error

Posted 11 years ago
POSTED BY: Miguel Olivo-V

At least one can modify a working example

In[16]:= RecurrenceTable[{a[n + 1] == 3 a[n], a[1] == 7}, a, {n, 1, 10}]
Out[16]= {7, 21, 63, 189, 567, 1701, 5103, 15309, 45927, 137781}

into a wrong example

In[17]:= RecurrenceTable[{a[n + 1] == 3 a[n, m], a[1] == 7}, a, {n, 1,  10}]
During evaluation of In[17]:= RecurrenceTable::dvlen: -- Message text not found -- (a[n,m]) (1) >>
Out[17]= RecurrenceTable[{a[1 + n] == 3 a[n, m], a[1] == 7}, a, {n, 1, 10}]

to enforce the message. Reasoning by analogy some appearance of V[m] in the original expression is considered harmful. But there is only one appearance of V[m] ...

POSTED BY: Udo Krause
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard