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!)
A100686 a(1) = 1, a(2) = 2; thereafter a(2n+1) = |a(2n)^2-a(2n-1)^2|, a(2n+2) = 2*a(2n-1)*a(2n). 1
1, 2, 3, 4, 7, 24, 527, 336, 164833, 354144, 98248054847, 116749235904, 3977703802948722503807, 22940770664883067253376, 510456831154766758152181998159655209453904127, 182503181432559739767250904458105698387204864 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
s = 1 and t = 2 are the initial seed numbers; they give the first Pythagorean pair x = 3, y = 4. Then take s = x, t = y for next seed numbers; these give the next Pythagorean pair x = |s^2-t^2|, y = 2st. Then take s = x, t = y and so on.
LINKS
Planet Math, Pythagorean Triplet
EXAMPLE
a(9) = 527^2-336^2 = 164833 because a(7) = 527 and a(8) = 336.
CROSSREFS
Sequence in context: A084644 A208729 A270777 * A052340 A370407 A094313
KEYWORD
nonn,easy
AUTHOR
Pahikkala Jussi, Dec 08 2004
EXTENSIONS
Edited by N. J. A. Sloane, Sep 06 2008
Defined a(2n+1) by absolute values, added 4 values - R. J. Mathar, Oct 14 2010
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 May 5 05:35 EDT 2024. Contains 372257 sequences. (Running on oeis4.)