Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

how to sovle array which odd and even have difference recursive function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125262] how to sovle array which odd and even have difference recursive function
  • From: jie zhao <nbt3710 at gmail.com>
  • Date: Fri, 2 Mar 2012 07:52:33 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

RSolve[{(b[n] == 1 + b[n/2] && Mod[n, 2] == 0) && (b[n] == 1/n &&
Mod[n, 2] == 1)}, b[n]==2, n]   failed to work !
        when n  is odd   b[n] == 1/n
        when n  is even  b[n] == 1 + b[n/2]



  • Prev by Date: Animate reevaluates the expression on every change
  • Next by Date: Re: Can I solve this system of nonlinear equations?
  • Previous by thread: Animate reevaluates the expression on every change
  • Next by thread: Re: how to sovle array which odd and even have difference recursive function