Find the number of integer quadruples (a,b,c,d) with 0\leq a,b,c,d \leq 100, such that a and b are the roots of the quadratic equation x^2-cx+d=0, while c and d are the roots of the quadratic equation x^2-ax+b

101