login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A115598 Consider all Pythagorean triples (X,X+1,Z) ordered by increasing Z; sequence gives Z-(X+1) values. 4
1, 8, 49, 288, 1681, 9800, 57121, 332928, 1940449, 11309768, 65918161, 384199200, 2239277041, 13051463048, 76069501249, 443365544448, 2584123765441, 15061377048200, 87784138523761, 511643454094368, 2982076586042449, 17380816062160328, 101302819786919521 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Old name was A001653(n) - A046090(n).
LINKS
L. J. Gerstein, Pythagorean triples and inner products, Math. Mag., 78 (2005), 205-213.
FORMULA
a(n) = (-2+(3-2*sqrt(2))^n+(3+2*sqrt(2))^n)/4.
a(n) = 7*a(n-1)-7*a(n-2)+a(n-3).
G.f.: -x*(x+1) / ((x-1)*(x^2-6*x+1)).
a(n)^2 + (a(n)+1)^2 = A001542(n)^2 + 1^2. - Hermann Stamm-Wilbrandt, Jul 27 2014
MATHEMATICA
LinearRecurrence[{7, -7, 1}, {1, 8, 49}, 30] (* Harvey P. Dale, Oct 27 2013 *)
CoefficientList[Series[-(x + 1)/((x - 1) (x^2 - 6 x + 1)), {x, 0, 30}], x] (* Vincenzo Librandi, Jul 28 2014 *)
CROSSREFS
Essentially a duplicate of A001108.
Sequence in context: A200660 A028443 A001108 * A261668 A097204 A037539
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Mar 14 2006
EXTENSIONS
Corrected and edited by Colin Barker, Jul 31 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 04:42 EDT 2024. Contains 371964 sequences. (Running on oeis4.)