golden ratio φ
by webproger on 2022-05-15
<pre><script>
var x = 1.618;
for(i=1; i<=100; i++) {
  document.writeln(i+' : '+x);
  var y = 1+1/x;
  if(x==y) break;
  else x = y;
}
</script></pre>