2n should read as 2^n

Unless OP already solved p=np...

that threw me, thanks