well I am not sure if its the right place to ask this question but here it goes -it is said that (halt problem) no algorithm could be written to tell if a program will halt or not on giving some input.

I think one only have to get values for which program will enter infinite loop and use these values in the algorithm to make halt program.

can anyone put more light on it?