identificationdivision. program-id. nthprimefactor. * Kurt Gödel, 1931 * "On formally undecidable propositions * of principa mathematica" author. "JD". date-written. 11.8.2007. date-compiled. datadivision. working-storagesection. 77 q pic9(4). linkagesection. 77 x pic9(4). 77 y pic9(4). 77 r pic9(4). proceduredivisionusing x y returning r. * computes x | y move0to r move1to q. * invariant q < y performuntil q >= y iffunction prime(q) andfunction divisible(q,y) then move q to r end-perform. * r = x | y end-program nthprimefactor.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.