GATE Computer ScienceEasyGATE CS (PYQ pattern)
How many integer triples (x, y, z) with x, y, z all non-zero satisfy |x| + |y| + |z| = 10?
- A. 36
- B. 1561
- C. 288
- D. 242
Correct answer: C. 288
Positive solutions of a + b + c = 10: C(9,2) = 36, and each non-zero coordinate takes either sign: 36 · 2³ = 288.
More Discrete Mathematics questions
- Twenty seats are arranged around a round table, numbered 1 to 20. In how many ways can 6 seats be chosen so that no two chosen seats are…
- On the set {1, 2, 3, 4}, how many binary relations are reflexive and symmetric but NOT transitive?
- Let f be a function from {1, 2, 3, 4, 5, 6} to {a, b, c, d}. How many onto (surjective) functions satisfy f(1) = a?
- The complete bipartite graph K(2,4) has two vertices on one side and four on the other, with every cross pair joined. How many distinct…
- The wheel graph W5 consists of a hub joined to every vertex of a 5-cycle. In how many ways can its 6 vertices be properly coloured using 4…
- How many binary strings of length 8 contain no three consecutive 0s?