I need to know for each of the $2^{2^3}$ boolean functions with $3$ inputs the smallest boolean circuit made only of NAND gates computing it (smallest in terms of the number gates).
I would be glad if someone could tell me a source where I can look this up or a clever procedure to find the minimal circuits myself.