Let the digits be in A.P. Nine-digit numbers are to be formed using each of these three digits thrice such that three consecutive digits are in A.P. at least once. How many such numbers can be formed?
Answer: 944
Solution
The nine-digit numbers use the digits , giving distinct numbers. Three consecutive digits are in arithmetic progression when they read or . Counting the distinct numbers that contain at least one such run, and subtracting through inclusion-exclusion those counted more than once because they contain two or three runs, leaves numbers. The placement count instead counts runs with multiplicity and so overstates the total. Hence such numbers can be formed.
JEE Main · 2023 · 12 Apr 2023 · Shift 1 · Integer answer