extra credit: sum/squares, nth prime