For all real numbers a,b, and c such that b>0 and b=1, note that:
logba is defined if and only if a>0.
For 0bc.
logba>c if and only if 01, we conclude that:
logbac if and only if a>bc.
Therefore, we have
log21(log4(log41(log16(log161x)))) is defined⟹log4(log41(log16(log161x)))>0⟹log41(log16(log161x))>1⟹0<log16(log161x)<41⟹1<log161x<2⟹2561<x<161.
The domain of f(x) is an interval of length 161−2561=25615, from which the answer is 15+256=(C) 271.
Remark
This problem is quite similar to 2004 AMC 12A Problem 16.
~MRENTHUSIASM