title: "Algoritmus"
text: "[[Datei:Tower of Hanoi.gif|thumb|Am a t\u00fcrn faan Hanoi amtusaaten, lingt en ianfachen algoritmus.]]\n\nEn algoritmus as en f\u00f6\u00f6rskraft, h\u00fc d\u00fc f\u00f6\u00f6rgung skel, am en probleem tu liasin. Diarf\u00f6r wurd enkelt straaler apfeerd, diar tuleetst tu't liasang feer.\n\nF\u00f6\u00f6raal uun a kompjuuterprogramiarang spele sok algoritmusen en grat rol.\n\n Bispal \nDi algoritmus faan Euklid as diar en bispal f\u00f6r, h\u00fc d\u00fc m\u00e4 en uunwisang amgung skel, am di gratst gemiansoom dialer'' faan tau nat\u00fc\u00fcrelk taalen a an b tu finjen:\n\n So loong a an b ei likedenang san\n Tji det letjer taal faan det grater uf\n Det diferens an det letjer taal wurd tu a an b\n Wan a an b likedenang san, heest d\u00fc di gratst gemiansoom dialer (ggd) f\u00fcnjen, \u00f6\u00f6ders began faan f\u00f6\u00f6ren\n\nEn kompjuuterprogram k\u00fcd so \u00fctjs\u00e4:\n function ggd(a,b)\n   if a = b\n     return a\n   else if a < b\n     return ggd(a, b-a)\n   else\n     return ggd(a-b, b)\n end\n\nM\u00e4 a taalen 15 an 12 ging det so: 15, 12 -> 12, 3 -> 9, 3 -> 6, 3 -> 3, 3 STOP\n\nLuke uk diar \n\nMatematiik\nFilosofii"