The number of all possible 5-triplets (a1,a2,a3,a4,a5) such that a1+a2sinx+a3cosx+a4sin2x+a5cos2x=0 holds for all x is:
The number of all the possible triplets (a1,a2,a3) such that a1+a2cos(2x)+a3sin2(x)=0 for all x is