MathGroup Archive 2008

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

Search the Archive

Re: hi,friends(8)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92181] Re: hi,friends(8)
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Mon, 22 Sep 2008 07:08:36 -0400 (EDT)
  • Organization: University of Bergen
  • References: <gb7o7i$nas$1@smc.vnet.net>

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)