In your class test, there were \(\xi \) questions. During the test, for each \(p\) satisfying \(1 \leq p \leq \xi \), \(2^{\xi -1}\) students give unexpected answers to at least \(p\) questions. If the total number of unexpected answers given is equal to \(2047,\) then what was the total number of questions in the test?

Excel in math and science

Master concepts by solving fun, challenging problems.

It's hard to learn from lectures and videos

Learn more effectively through short, interactive explorations.

Used and loved by over 5 million people

Learn from a vibrant community of students and enthusiasts,
including olympiad champions, researchers, and professionals.

Your answer seems reasonable.
Find out if you're right!