Formula for the sequence 0, 1, 1, 2, 2, 3, 3, 4, 4

  • Context: High School 
  • Thread starter Thread starter darkmass
  • Start date Start date
  • Tags Tags
    Sequence
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
darkmass
Messages
1
Reaction score
0
Find a formula for the givin sequence:

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


thanks. any help would be appreciated.
 
Mathematics news on Phys.org
[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
 
Or a_n = floor( (n + 1)/2 ), n >= 0.