I've updated the functions (I think they are correct now
) taking into account what Cookie said. Just to make sure, choose has to use positive integers right? And primes cannot be negative? (You'll have to bare with me, my maths is only middle school level
.)
By the way, thanks for all your help.