login
A381008
Ordered perimeters of the Pythagorean triangles defined by a = 2^(4n) + 2^(2n+1), b = 2^(4n) - 2^(4n-2) - 2^(2n) - 1, c = 2^(4n) + 2^(4n-2) + 2^(2n) + 1.
5
56, 800, 12416, 197120, 3147776, 50339840, 805339136, 12885032960, 206158954496, 3298536980480, 52776566521856, 844424963686400, 13510799016329216, 216172782650654720, 3458764515968024576, 55340232229718589440, 885443715572418215936, 14167099448746374594560
OFFSET
1,1
COMMENTS
Proper subset of A024364.
LINKS
John D. Cook, Sparse binary Pythagorean triples (2025).
H. S. Uhler, A Colossal Primitive Pythagorean Triangle, The American Mathematical Monthly, Vol. 57, No. 5 (May, 1950), pp. 331-332.
Wikipedia, Pythagorean triple.
FORMULA
a(n) = A381005(n) + A381006(n) + A381007(n).
a(n) = 2^(4n+1) + 2^(2n+1) + 2^(4n).
G.f.: 8*(7 - 40*x)/((1 - 4*x)*(1 - 16*x)). - Stefano Spezia, Feb 13 2025
MATHEMATICA
A381008[n_] := #*(3*# + 2) & [4^n]; Array[A381008, 20] (* or *)
LinearRecurrence[{20, -64}, {56, 800}, 20] (* Paolo Xausa, Feb 26 2025 *)
PROG
(PARI) a(n) = 2^(4*n+1) + 2^(2*n+1) + 2^(4*n)
(Magma) [2^(4*n+1) + 2^(2*n+1) + 2^(4*n): n in [1..20]];
(Python)
def A381008(n): return (m:=1<<(n<<1))*(2+3*m) # Chai Wah Wu, Feb 13 2025
CROSSREFS
Cf. A024364.
Cf. A381005 (short legs), A381006 (long legs), A381007 (hypothenuses), A381009 (areas).
Sequence in context: A227059 A285155 A278197 * A182866 A008389 A338002
KEYWORD
nonn,easy
AUTHOR
Robert C. Lyons, Feb 12 2025
STATUS
approved