Hey can't anyone help? it works when the n value is three... but it gets stuck from there..