2b=a+c⇒sum of a\text{&}c is even and b depends on a\text{&}c
Thus, we can not choose all three independently, but we can choose a\text{&}c
Moreover, aandc should be both either even or odd as their sum is even.
Out of 11 consecutive natural numbers, either five are even and six are odd or six are even and five are odd.
Hence, P=21C311C25+C26+21C311C26+C25=335