TITLE: Do there exist infinitely many positive integers which cannot be represented by $ab+bc+ca$?
QUESTION [8 upvotes]: A friend of mine taught me the following question which he's been trying to solve. We are facing difficulty.

Question : Two sets $A,B$ are defined as
  $$A=\{n\ |\ n\ \text{is a positive integer}\},$$
  $$B=\{ab+bc+ca\ |\ a,b,c\ \text{are positive integers}\}.$$
  Then, is $|A\cap B^c|$ infinite where $B^c$ is the complement of $B$?

What we've found is the followings : Let $m$ be a positive integer.

$2m+1\in B$. Take $(a,b,c)=(1,1,m).$
$4m+4\in B$. Take $(a,b,c)=(2,2,m)$.
$12m+2\in B$. Take $(a,b,c)=(1,2,4m)$.
$60m-14\in B$. Take $(a,b,c)=(3,2,12m-4)$.
$60m+6\in B$. Take $(a,b,c)=(3,2,12m)$.
$60m-6\in B$. Take $(a,b,c)=(4,6,6m-3)$.
$60m-26\in B$. Take $(a,b,c)=(4,6,6m-5)$.

Also, we've found that 
$$1,2,4,6,10,18,22,30,42\in{A\cap B^c}.$$
However, we don't know what to do next. Can anyone help?

REPLY [6 votes]: Borwein and Choi showed in a short paper in 2000 that there are 18 or 19 solutions, and the first 18 are
$$1, 2, 4, 6, 10, 18, 22, 30, 42, 58, 70, 78, 102, 130, 190, 210, 330, 462.$$
(This is sequence A025052 in OEIS.) As of that paper, it was known that the other solution, if it exists, is $> 10^{11}$, and that no such solution exists if the Generalized Riemann Hypothesis is true. I do not know whether this outstanding case has since been resolved some other way.  Borwein and Choi's proof begins by splitting into the squarefree and nonsquarefree cases (the latter case gives only $4$ and $18$), and then whittles down the possibilities in part by producing some special cases not unlike your list above.
Interestingly, this problem turns out to be equivalent to the classification of discriminants for which no indecomposable positive definite binary quadratic forms exist.