A076718 Duplicate of A076671.
5, 12, 16, 30, 40, 42, 56, 90, 120, 126, 168, 224, 360, 378, 504, 550, 1320, 1386, 1848
Offset: 1
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
Clear[nxt]; nxt[n_]:=Module[{i=n+1},While[!IntegerQ[Sqrt[n^2+i^2]],i++]; i]; NestList[nxt,6,40] (* Harvey P. Dale, Dec 03 2010 *)
ps[n_]:=Module[{k=n+1,n2=n^2},While[!IntegerQ[Sqrt[n2+k^2]],k++];k]; NestList[ ps,9,40] (* Harvey P. Dale, May 01 2014 *)
Comments