How many ordered triples of positive integers (a,b,c) with 1<=a,b,c<=5 are there such that ax^2+bx+c has a rational solution?