OFFSET
1,1
COMMENTS
If (a, b, c) is a primitive Pythagorean triple such that a^2+b^2 = c^2, where b is the even leg and b = c-1 then a^b + b^a is divisible by c. See Joardar link. To generate the n-th such Pythagorean triple we take a = 2n+1, b = 2n^2+2n and c = 2n^2+2n+1. This sequence is the quotient (a^b+b^a)/c, i.e., a(n) = ((2n+1)^(2n^2+2n)+(2n^2+2n)^(2n+1))/(2n^2+2n+1).
LINKS
B. Joardar, A Property of Primitive Pythagorean Triples, At Right Angles, August 2017, Azim Premji University, India.
Wikipedia, Almost-isosceles Pythagorean triples.
EXAMPLE
a(2) = 18799189 because n = 2 generates the primitive Pythagorean triple (5, 12, 13) and (5^12+12^5)/13 = 18799189.
MATHEMATICA
a[n_] := ((2n+1)^(2n^2+2n)+(2n^2+2n)^(2n+1))/(2n^2+2n+1); Array[a, 6]
CROSSREFS
KEYWORD
nonn
AUTHOR
Frank M Jackson, Apr 29 2018
STATUS
approved