login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Largest leg in right triangle with relatively prime sides and hypotenuse 5^n.
1

%I #5 Jun 24 2014 01:08:20

%S 4,24,117,527,3116,11753,76443,354144,1721764,9653287,34867797,

%T 242017776,1064447283,5583548873,29729597084,116749235904,

%U 761741108157,3175197967656,17982575014036,91004468168113

%N Largest leg in right triangle with relatively prime sides and hypotenuse 5^n.

%C If (3+4i)^n = r+si, then a(n) is the maximum of |r| and |s|.

%t a[n_] := Max[Abs[Re[(3+4I)^n]], Abs[Im[(3+4I)^n]]]

%Y Cf. A036842.

%K nonn

%O 1,1

%A _Dean Hickerson_, Jan 14, 2002