Test of Mathematics Solution Subjective 36 - Invariance Principle

Join Trial or Access Free Resources

Test of Mathematics at the 10+2 Level

Test of Mathematics Solution Subjective 36 (from ISI Entrance). The book, Test of Mathematics at 10+2 Level is Published by East West Press. This problem book is indispensable for the preparation of I.S.I. B.Stat and B.Math Entrance.

Also see: Cheenta I.S.I. & C.M.I. Entrance Course


Problem

Let $ a_1 , a_2 , ... , a_n $ be n numbers such that each $ a_i $ is either 1 or -1. If $ a_1 a_2 a_3 a_4 + a_2 a_3 a_4 a_5 + ... + a_n a_1 a_2 a_3 = 0 $ then prove that 4 divides n.

Solution

Let us denote each product of four numbers as $ b_i $ . For example $ b_1 = a_1 a_2 a_3 a_4 $. Note that the last one begins with $ a_n $ indicating there are n $ b_i $'s.

We check the equation modulo 4 (that is in each step we change 'something' in the equation and check what happens to the remainder of the sum when divided by 4).In the first step we note that equation is 0 mod 4 (since 0 when divided by 4 gives 0 as the remainder).

Next we convert one of the a's which is -1 into +1. Note that each $ a_i $ appears in exactly 4 $ b_j $. Hence converting the one $ a_i $ from -1 to +1 will alter the values of 4 $ b_j $ Thus we may have five cases:

  • All the four b's were -1. Hence after conversion all of their values will change into +1. Therefore the value of the total sum will increase by +8 (as previously the four b's added up to -4 and now they add up to +4). Thus no change of the sum modulo 4.
  • Exactly three b's were -1 and the remaining was +1. Hence after conversion three of their values will change into +1 and the remaining one changes from +1 to -1. Therefore the value of the total sum will increase by +4 (as previously the four b's added up to -2 ((-1) + (-1) + (-1) + (+1)) and now they add up to +2). Thus no change of the whole sum modulo four.
  • Exactly two b's were -1 and the remaining two were +1. Hence after conversion two of their values will change into +1 and the remaining two will change from +1 to -1. Therefore the value of the total sum will increase by 0 (as previously the four b's added up to 0 ((-1) + (-1) + (+1) + (+1)) and now they add up to 0). Thus no change of the whole sum modulo four.
  • Exactly one b was -1 and the remaining were +1. Hence after conversion three of their values will change into -1 and the remaining one changes from -1 to +1. Therefore the value of the total sum will decrease by 4 (as previously the four b's added up to 2 ((+1) + (+1) + (+1) + (-1)) and now they add up to -2). Thus no change of the whole sum modulo four.
  • All the four b's were +1. Hence after conversion all of their values will change into -1. Therefore the value of the total sum will decrease by 8 (as previously the four b's added up to +4 and now they add up to -4). Thus no change of the sum modulo 4.

Thus we see that changing one $ a_i $ -1 to +1 does not change the value of the total sum modulo 4. Similarly we change all negative one's into positive one's (and in each step the sum remains invariant in modulo 4) to get n. Thus $ n \equiv 0 \mod 4 $ . This implies 4 divides n.

Key Idea

Modular arithmetic, invariance principle.

More Posts
A Major Milestone in Young Research: Aaditya Punatar and Muskan Sadana Publish in JEI

A Major Milestone in Young Research: Aaditya Punatar and Muskan Sadana Publish in JEI

October 11, 2026

Publishing original scientific research in a peer-reviewed journal is an achievement many scholars work toward for years. Achieving this feat early in one's academic journey requires exceptional intellectual rigor, creativity, and persistence. Aaditya Punatar and Muskan Sadana have reached this remarkable milestone, successfully publishing their collaborative research paper in the prestigious Journal of Emerging Investigators […]

Read More
Prishaa Shrimali Named Grand Finalist at Regeneron ISEF 2026 for Quantum-Powered Urban Planning Research

Prishaa Shrimali Named Grand Finalist at Regeneron ISEF 2026 for Quantum-Powered Urban Planning Research

October 6, 2026

Her project on quantum-accelerated Steiner trees for 15-minute cities earned a place among the finalists at the world's largest pre-college STEM competition. Prishaa Shrimali of Marymount School of New York, was selected as a Grand Finalist at the 2026 Regeneron International Science and Engineering Fair (ISEF) in Phoenix, Arizona. Her project was Optimizing Urban Accessibility: […]

Read More
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
© 2010 - 2025, Cheenta Academy. All rights reserved.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram