MathGroup Archive 2008

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

Search the Archive

Re: hi,friends(8)


China -->hk wrote:
> hi,friends:
> Can we use Mathematica to solve the following recurrence function problem?
> f[1,1]=1,f[m,n+1]=f[m,n]+2,f[m+1,n]=2*f[m,n],m,n are positive integers.f[m,n]=?
> thanks,
> 

Recurrence equations can be solved with RSolve, but there is a little 
problem with your set of equations:

f[1,1] = 1
f[1,2] = f[1,1] + 2 = 3
f[2,2] = 2*f[1,2] = 6

f[1,1] = 1
f[2,1] = 2*f[1,1] = 2
f[2,2] = f[2,1] + 2 = 4


  • Prev by Date: Re: Problem with replacement rules
  • Next by Date: Re: Debracketing array symbols
  • Previous by thread: Re: hi,friends(8)
  • Next by thread: Re: hi,friends(8)