Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A114336
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A114336 Pythagorean triples of nearly isosceles triangle. +0
2
3, 4, 5, 20, 21, 29, 119, 120, 169, 696, 697, 985, 4059, 4060, 5741, 23660, 23661, 33461, 137903, 137904, 195025 (list; table; graph; listen)
OFFSET

1,1

COMMENT

Pythagorean triples of exact isosceles triangles do not exist because 2a^2 = c^2 has no integer solution. a^2 + (a+1)^2 = c^2 are nearly isosceles triangles and give a recursive serie.

FORMULA

a^2 + (a+1)^2 = c^2 a(n) = 3a(n-1) + 2c(n-1) + 1 c(n) = 4a(n-1) + 3c(n-1) + 2

EXAMPLE

119^2 + 120^2 = 169^2

PROGRAM

a(1):= 3 c(1):= 5 read m C m is infinite but limited by integer overflow of c(n) for n:=2 until m step 1 a(n):= 3*a(n-1) + 2*c(n-1) + 1 c(n):= 4*a(n-1) + 3*c(n-1) + 2 print a(n), a(n)+1, c(n) next n end

CROSSREFS

Sequence in context: A031199 A059184 A084930 this_sequence A048086 A048005 A039573

Adjacent sequences: A114333 A114334 A114335 this_sequence A114337 A114338 A114339

KEYWORD

easy,nonn,tabl

AUTHOR

Heinrich Baldauf (heinbald25(AT)web.de), Feb 07 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research