my version was: <html> <script language="javascript" type="text/javascript"> function mycalc() { var plus = new Array(0,1,2,3,5,6,6); sum = 2302; j=0; for (i=700;i<11590;i++) { sum+=plus[j]; j++; if (j==7) {j=0;} document.writeln("<br/>",i,"->",sum); } } </scr...