maths-greatest-common-factor
// not tested to work yet or completed yet.
function gcf(a,b) {
while ( ( (b/a)!=(Math.floor(b/a)) ) || (a/b)!=(Math.floor(a/b))){
sub = Math.floor(b/a);
   b = b-sub*a;
}
}
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License