FERMAT 1997 Problem 21

If \displaystyle\frac{\left(\frac ac+\frac ab+1\right)}{\left(\frac ba+\frac bc+1\right)}=11, and a,b, and c are positive integers, then the number of ordered triples (a,b,c), such that a+2b+c\le40, is

Answer Choices
A. 33
B. 37
C. 40
D. 42
E. 45