Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Tough Sequence problem

  1. Aug 1, 2004 #1
    Find a formula for the givin sequence:

    0, 1 , 1 , 2 , 2 , 3 ,3 ,4 ,4 ............


    thanks. any help would be appreciated.
     
  2. jcsd
  3. Aug 1, 2004 #2
    [tex]a_{2n} = a_{2n-2} + 1[/tex]
    [tex]a_{2n+1} = a_{2n-1} + 1[/tex]
    [tex]a_0 = 0[/tex]
    [tex]a_1 = 1[/tex]

    cookiemonster
     
  4. Aug 1, 2004 #3
    Or a_n = floor( (n + 1)/2 ), n >= 0.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook