Page 1 of 1

BdMO 2020 Preliminary Higher Secondary P4

Posted: Thu Apr 08, 2021 5:50 pm
by mdvirus
If $n$ is even, then $T(n) = T(n - 1) + 1$ and if $n$ is odd then $T(n) = T(n - 2) + 2$. If $T(1) = 7$ what is $T(2020)$?

Re: BdMO 2020 Preliminary Higher Secondary P4

Posted: Sun Apr 25, 2021 10:35 am
by Asif Hossain
You should have posted the problem in BdMO problem section but anyways
If $n+1$ is odd then $T(n+1)=T(n-1)+2 \Rightarrow T(n+1)=T(n)-1+2 \Rightarrow T(n+1)=T(n)+1$
If $n+1$ is even then $T(n+1)=T(n)+1$ so $T(n)$ is in arithmetic progression so $T(2020)=T(1)+(2020-1)=2026$

Re: BdMO 2020 Preliminary Higher Secondary P4

Posted: Thu Jun 17, 2021 10:03 am
by niamul21
mdvirus wrote:
Thu Apr 08, 2021 5:50 pm
If $n$ is even, then $T(n) = T(n - 1) + 1$ and if $n$ is odd then $T(n) = T(n - 2) + 2$. If $T(1) = 7$ what is $T(2020)$?
You did it right. Thanks