list of remainder
Answered
need to know how get list of all remainders when a divides b ( using euclidean algorithm) until remainder equals zero and return last non zero remainder.
by transalating the below statement to geogebra statements.
Input r(0) ,r(1) where r(0)>r(1)
initialisation i=1
Do
i=i+1
r(i)=r(i-2) mod(r(i-1))
while r(i) is not=0
return k=r(i-1)
any help or suggestion is much appreciated. Thanks
Files:
list of remaind...
https://www.geogebra.org/m/DyVE8Fmn
l1\{a,b}
Comments have been locked on this page!