The minimum cost for 20 crates would be 68 dollars. You would buy 18 crates using the 3 for 10 dollars ( this would cost 60 dollars), and then 2 crates using the one crate for 4 dollars (this would cost 8 dollars) all together you would have 20 crates, costing you 68 dollars.