OFFSET
1,1
FORMULA
a(n) = floor(sqrt(n^2 + (n+1)^2)) = floor(sqrt(A001844(n))).
EXAMPLE
If legs = 3,4 then hypot = floor(sqrt(9+16)) = 5, the 3rd term.
MAPLE
MATHEMATICA
Table[Floor[Sqrt[n^2+(n+1)^2]], {n, 100}] (* Harvey P. Dale, Apr 02 2011 *)
PROG
(PARI) f(n) = for(j=1, n, my(x=j, y=j+1); print1(sqrtint(x^2+y^2)", "))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Cino Hilliard, Aug 22 2004
STATUS
approved
