This problem has two parts. We need to find p (number of values of r) and q (sum of rational terms), then compute p+q.
Part 1: Finding p
In the expansion of (a+b)12, the general term is Tk+1=(k12)a12−kbk.
The coefficients of Tr,Tr+1,Tr+2 are (r−112),(r12),(r+112) respectively.
For these to be in G.P., we need:
(r12)2=(r−112)⋅(r+112)
Using the identity (k−1n)(kn)=kn−k+1:
(r−112)(r12)=r13−r and (r12)(r+112)=r+112−r
The G.P. condition gives: (r−112)(r12)=(r12)(r+112)
r13−r=r+112−r
(13−r)(r+1)=r(12−r)
13r+13−r2−r=12r−r2
12r+13−r2=12r−r2
13=0
This is a contradiction! This means no three consecutive binomial coefficients of (a+b)12 can form a G.P. Therefore p=0.
Part 2: Finding q (sum of rational terms)
In the expansion of (31/4+41/3)12, the general term is:
Tk+1=(k12)(31/4)12−k(41/3)k=(k12)⋅3(12−k)/4⋅4k/3
Since 4=22, we have 4k/3=22k/3.
For the term to be rational, we need both 412−k and 3k to be non-negative integers.
From 412−k∈Z≥0: k≡0(mod4) and k≤12.
From 3k∈Z≥0: k≡0(mod3).
So k must be divisible by both 3 and 4, i.e., k≡0(mod12).
For 0≤k≤12: k=0 or k=12.
For k=0: T1=(012)⋅312/4⋅40=1⋅33⋅1=27
For k=12: T13=(1212)⋅30⋅412/3=1⋅1⋅44=256
Therefore q=27+256=283.
Finally: p+q=0+283=283, which matches Option A.