sci.math
[Top] [All Lists]

algorithm with a,b

Subject: algorithm with a,b
From: "mina_world"
Date: Sun, 3 Dec 2006 14:39:35 +0900
Newsgroups: sci.math
Hello sir~

I showed algorithm.

a is non-negative integer.
b is positive integer.

start with a, b.

(*)
if a < b, output a. End

if a >= b, a = a-b.
returen to (*).

for given a, b,
what's output ??

hint) with definition of sequence.

----------------------------------
How do you think about it ?



<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy