IOQM 2022 Part B Problem 3 I Binary Tree & Recursion

Join Trial or Access Free Resources

Try this beautiful Recursion Problem based on Binary Tree appeared in IOQM 2022 Part B, Problem 3.

IOQM 2022 Part B I Problem 3


For a positive integer $N$, let $T(N)$

denote the number of arrangements

of the integers $\\$ $1,2, \ldots, N$

into a sequence $a_{1}, a_{2}, \ldots, a_{N}$

such that

$a_{i}>a_{2 i}$ for all $i, 1 \leq i<2 i \leq N \\$

and

$a_{i}>a_{2 i+1}$,

for all $i, 1 \leq i<2 i+1 \leq N$.

For example, $T(3)$ is 2 , since

the possible

arrangements are 321 and 312 .
(a) Find $T(7)$.
(b) If $K$ is the largest non-negative

integer

so that $2^{K}$ divides $T\left(2^{n}-1\right)$,

show that $\\K=$ $2^{n}-n-1$.
(c) Find the largest non-negative

integer

$K$ so that

$2^{K}$ divides $T\left(2^{n}+1\right)$.

Key Concepts


Binary Tree

Recursion Relation

Induction

Suggested Book | Source | Answer


Problem Solving Strategies by Arthur Engel

IOQM 2022

$ (i) 80 $

$ (iii)$ The highest power of $2$ dividing $T\left(2^{n}+1\right)$ is $ 2^{n}-1 $

Try with Hints


Create a Binary Tree with nodes using the given numbers as the following rule:

At each node the root is greater than the child node

Observe a bijection between the these nodes and every possible valid arrangements

Observe that the maximum number will be the root. Now try to find how the subsequent nodes will be formed.

Leave the maximum number for the root. Then we would have \(2^{n}-2\) numbers.
Now they can be grouped into 2 groups of \(2^{n-1}-1\) numbers each.
Try to build a recursion using \(T(N)\).
Then observe
\[
2^{n-2}
{{2^{n}}\choose {2^{n-1}}}
=(2^{n}-1){{2^{n}-2}\choose{2^{n-1}-1}}
\]

Then find the highest power of \(2\) which divides\({{2^n}\choose {2^{n-1}}}.\)

Try to solve this similarly as the second part.

Then try to build a recursive relation of the highest power of 2 dividing $T(N)$ an solve it

Subscribe to Cheenta at Youtube


More Posts
ISI M.Stat Entrance Success Story 2026

ISI M.Stat Entrance Success Story 2026

June 27, 2026

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's M.Stat Entrance. They ranked within the first 50 in the entire country in these entrances. I.S.I. M.Stat Entrance

Read More
ISI B.Stat-B.Math and CMI BSc. Math Entrance Success Story 2026

ISI B.Stat-B.Math and CMI BSc. Math Entrance Success Story 2026

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's B.Stat Entrance and Chennai Mathematical Institute's B.Sc. Math Entrance. They ranked within the first 200 in the entire country in these entrances. Most of these students attended the problem solving workshops regularly, which happen 5 days every week. CMI B.Sc. Math Entrance […]

Read More
8 Cheenta students cracked the Regional Math Olympiad 2025 

8 Cheenta students cracked the Regional Math Olympiad 2025 

December 26, 2025

In 2025, 8 students from Cheenta Academy cracked the prestigious Regional Math Olympiad. In this post, we will share some of their success stories and learning strategies. The Regional Mathematics Olympiad (RMO) and the Indian National Mathematics Olympiad (INMO) are two most important mathematics contests in India.These two contests are for the students who are […]

Read More
Cheenta Students Shine at IOQM 2025

Cheenta Students Shine at IOQM 2025

October 26, 2025

Cheenta Academy proudly celebrates the success of 27 current and former students who qualified for the Indian Olympiad Qualifier in Mathematics (IOQM) 2025, advancing to the next stage — RMO. This accomplishment highlights their perseverance and Cheenta’s ongoing mission to nurture mathematical excellence and research-oriented learning.

Read More

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2010 - 2025, Cheenta Academy. All rights reserved.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram