login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A099776 Length of the hypotenuse of an integer right triangle with the hypotenuse being one more than the longer side. The shorter sides are just consecutive odd numbers 3, 5, 7, ... 5
5, 13, 25, 41, 61, 85, 113, 145, 181, 221, 265, 313, 365, 421, 481, 545, 613, 685, 761, 841, 925, 1013, 1105, 1201, 1301, 1405, 1513, 1625, 1741, 1861, 1985, 2113, 2245, 2381, 2521, 2665, 2813, 2965, 3121, 3281, 3445, 3613, 3785, 3961, 4141, 4325, 4513 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Largest hypotenuse of primitive Pythagorean triangles with inradius n. (For smallest hypotenuse of PPT with inradius n, see A087484) Essentially the same as A001844. - Lekraj Beedassy (blekraj(AT)yahoo.com), May 08 2006

The complete triple {X(n), Y(n), Z(n)=Y(n)+1}, with X<Y<Z, {X(n)=A005408(n);Y(n)=A046092(n), Z(n)=A001844(n)} may be recursively generated through the mapping W(n) -> M*W(n), where W(n) = transpose of vector [X(n) Y(n) Z(n)] and M a 3 X 3 matrix given by [1 -2 2 / 2 -1 2 / 2 -2 3 ]. Such triples correspond to successive number pair Pythagorean generators(p,q=p+1) yielding {X=p+q,Y=2p*q,Z=p^2 + q^2} - Lekraj Beedassy (blekraj(AT)yahoo.com), Jun 04 2006

sum of two consecutive squares: 1^4=5,4+9=13,9+16=25,16+25=41,.. [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Sep 25 2009]

LINKS

Index entries for sequences related to linear recurrences with constant coefficients, signature (3,-3,1).

FORMULA

a(n) = ((2*n+1)^2-1)/2 + 1

a(n)=4*n+a(n-1), (with a(1)=5) [From Vincenzo Librandi, Nov 17 2010]

MATHEMATICA

lst={}; Do[a=(n^2+(n+1)^2); AppendTo[lst, a], {n, 5!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Sep 25 2009]

PROG

(C) #include "stdio.h"

int main(int argc, char* argv[]){

  unsigned int i;

  for (i=1; i<50; i++)

    printf ("%u, ", (((2*i+1)*(2*i+1)-1)/2)+1);

  return 0;

}

CROSSREFS

Sequence in context: A081961 A096891 A001844 * A133322 A146590 A098483

Adjacent sequences:  A099773 A099774 A099775 * A099777 A099778 A099779

KEYWORD

easy,nonn

AUTHOR

Nick Robins (nrobins(AT)hackettfreedman.com), Nov 12 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 16:51 EST 2012. Contains 205938 sequences.