Re: Sophism: Halting problem is decidable - relaunched



On Oct 14, 10:46 pm, Proginoskes <CCHeck...@xxxxxxxxx> wrote:

How do you know one of the two outcomes will be produced? If you
don't, then the "algorithm" will run forever, and hence not be an
algorithm.

That is interesting: I've not seen before the idea that halting
is part of the definition of "algorithm" but a quick consult
with

http://www.google.com/search?q=define%3Aalgorithm

shows several definitions that include this.

That seems odd to me because it means we can't decide
in general if a program is an algorithm or not.


Marshall

.



Relevant Pages

  • Re: Surrogate factoring, corrected algorithm
    ... > correct the algorithm. ... Unfortunately, given that j is odd, there's a lower bound on this -- since ... For each of the open RSA ... M - j would be divisible by 3, again by the pigeonhole principle and by the ...
    (sci.math)
  • Re: Surrogate factoring, corrected algorithm
    ... > correct the algorithm. ... Unfortunately, given that j is odd, there's a lower bound on this -- since ... For each of the open RSA ... M - j would be divisible by 3, again by the pigeonhole principle and by the ...
    (sci.crypt)
  • Re: Big Prime number prolem.
    ... A brief hint that would only be 256 iterations ... The prime generated will satisfy the large factor to p-1 requirement as it ... On a similar note your given algorithm actually won't work. ...
    (sci.crypt)
  • Re: primality
    ... the point is that it is easier and faster to use an algorithm to generate a prime/semiprime/compound number that happens to be odd rather than generating the number randomly and testing for primality because if the primality test fails then a new random number has to be generated and tested. ... You just grab any random number that's about the size you need and set the first and last bit to "1" (the first bit makes it the size you need and the last bit makes it an odd number - it is very simple and very quick. ... This representation is called the code. ... Different things can be encoded using different codes. ...
    (sci.crypt)
  • Re: Random number generation
    ... Is it possible to implement such an algorithm in C? ... The standard rand() function is one of them, ... and odd numbers respectively 80% and 20% of the time. ... with a bias in favor of even numbers. ...
    (comp.lang.c)