Sorry for the bug. Please report it using as described in bug_report().
An easy way to fix this is to first simplify your expression using
radcan before using limit. That is no excuse for the bug in limit,
but it at least gets correct results in this sort of case.
-s
On 11/25/06, wite27 <wite27 at tlen.pl> wrote:
> (%i1) (4^n+1)/(2^(2*n));
> (%o1) (4^n+1)/2^(2*n)
> (%i2) limit(%, n, inf);
> (%o2) inf
> The answer isn't corect, why?