Using a new mathematical approach to screen large groups for Covid-19 could be around 20 times cheaper than individual testing, a study suggests.