basic counting
I took difference 541-1=540 this is done to find how many common difference is possible
now take factors of 540=1*2*2*3*3*3*5
so now we take all possible combination which we can take as common difference and which ensure atleast 3 terms.
{1,2,3,4,5,6,9,10,12......,180,270}= total 24 terms hence answer is D