First time here? Check out the FAQ!
answered 2012-10-09 19:20:51 +0100
It's possible that the file is there but doesn't have the right permissions: it isn't executable. You could try
$ chmod a+x factor $ ./factor 2006
and see if that works.