I would like to know what equations are needed to calculate minimal tickets needed to garantee (at least) one '3-OK' in a 6/49 lottery.

You can find quite some info about 'minimal numbers of tickets required' (current record being 163 tickets), but I think rather then using a trial and error approach it is problem a mathematician can describe well.