Let be an acyclic digraph. The competition graph of has the same set of vertices as and an edge between vertices and if and only if there is a vertex in such that and are arcs of . The competition-common enemy graph of has the same set of vertices as and an edge between vertices and if and only if there are vertices and in such that , and are arcs of . The competition number (respectively, double competition number) of a graph , denoted by (respectively, ), is the smallest number such that together with isolated vertices is a competition graph (respectively, competition-common enemy graph) of an acyclic digraph.
It is known that for any graph . In this paper, we give a sufficient condition under which a graph satisfies and show that any connected triangle-free graph with satisfies that condition. We also give an upper bound for the double competition number of a connected triangle-free graph. Finally, we find an infinite family of graphs each member of which satisfies and .