It's done automatically using clever algorithms, though some manual deposits are also permitted. (moneysavingexpert.com)
In recent decades, theorists have devised clever algorithms for telling whether a large number is prime, but none that could be proven to work quickly. (sciencemag.org)
Turns out, though, there's plenty you can do with some very clever algorithms. (slashgear.com)