Better Experience Download iQuanta App

Google PlayApp Store
Starter
28d
#Doubt Responded

#SNAP Official Mock 2 Inequalities

Give solution and I am not aware of this concept yet ,a brief one please

Comments3

Muskan

Muskan

C

Superman - iQuanta

Superman - iQuanta

n² + 3n + 2 = (n+1)(n+2), two consecutive integers, so we need 24 | (n+1)(n+2). Let m = n+1; need 24 | m(m+1). Since m and m+1 are coprime, 8 must divide one of them and 3 must divide one of them. 8 divides m or m+1: m equiv 0, 8, 16, 7, 15, 23 (mod 24). Drop those where neither m nor m+1 is divisible by 3, i.e. m equiv 1 (mod 3): removes 7 and 16. Valid residues of m mod 24: \0, 8, 15, 23\, four per cycle. m runs 2 to 1001. Count each residue in 1 to 1000 (m=1001 adds nothing): m equiv 0: 41 values, m equiv 8: 42 values, m equiv 15: 42 values, m equiv 23: 41 values. Total = 41 + 42 + 42 + 41 = 166. (C) 166

Log in to see all 3 comments and join the discussion.