Let three numbers in A.P. be a,b,c
2b=a+c
Either a,c both will be odd or both will be even.
1,3,5,…,2n+1 →(n+1) numbers
2,4,6,…,2n →n numbers
Let E be the event of selecting three numbers in A.P.
⇒n(E)=n+1C2+nC2
⇒n(E)=(n+1)n2+n(n−1)2
⇒n(E)=n2
Three numbers can be selected in 2n+1C3 ways.
∴Probability=n22n+1C3
⇒421=6n2(2n+1)2n(2n−1)⇒421=3n4n2−1⇒16n2−4=63n⇒16n2−63n−4=0⇒16n2−64n+n−4=0⇒16n(n−4)+(n−4)=0⇒(n−4)(16n+1)=0
⇒n=4 or n=−116 (rejected)