MathGroup Archive 2005

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

Search the Archive

Re: Replace in recursive equations

  • To: mathgroup at
  • Subject: [mg54406] Re: [mg54371] Replace in recursive equations
  • From: Bob Hanlon <hanlonr at>
  • Date: Sun, 20 Feb 2005 00:08:08 -0500 (EST)
  • Reply-to: hanlonr at
  • Sender: owner-wri-mathgroup at


eqn /. f[n__] :> ff[n]+Q

Q + ff[n + 1] == a*(Q + ff[n])



{{f[n] -> a^n*c}}

Bob Hanlon

> From: skirmantas.janusonis at (Skirmantas)
To: mathgroup at
> Date: 2005/02/19 Sat AM 02:32:32 EST
> To: mathgroup at
> Subject: [mg54406] [mg54371] Replace in recursive equations
> The last sentence of my previous message about Inverse got somehow
> scrambled. I meant "I have to re-input the output to get the result." 
> One more quick question. Suppose I have a recursive equation F[n+1]==a
> F[n]. I want to replace F[n]->FF[n]+Q for _all_ n's. Q is a constant.
> What is the best way to do it? The left side should become FF[n+1]+Q
> and the right a(FF[n]+Q). Any help would be appreciated. 

  • Prev by Date: Re: Bug in 5.1??
  • Next by Date: Re: Re: Why does Inverse[M] hesitate?
  • Previous by thread: Re: Replace in recursive equations
  • Next by thread: Re: Replace in recursive equations