OFFSET
0,1
COMMENTS
Also the hypotenuse of primitive Pythagorean triangles obtained by repeated application of basic formula c(n)=p(n)^2+q(n)^2 starting p(0)=2, q(0)=1, see A100686, A098122. Example: a(2)=25 since starting (2,1) gives Pythagorean triple (3,4,5) using (3,4) as new generators gives triple (7,24,25) hypotenuse 25=a(2). - Carmine Suriano, Feb 04 2011
FORMULA
a(n) = A165423(n+3).
a(n+1) = a(n)^2 with a(0)=5.
a(n-1) = (Im((2+i)^(2^n))^2 + Re((2+i)^(2^n))^2)^(1/2). - Carmine Suriano, Feb 04 2011
Sum_{n>=0} 1/a(n) = A078886. - Amiram Eldar, Nov 09 2020
Product_{n>=0} (1 + 1/a(n)) = 5/4. - Amiram Eldar, Jan 29 2021
PROG
(PARI) a(n) = 5^(2^n); \\ Michel Marcus, Jan 26 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Apr 21 2010
EXTENSIONS
Offset corrected by R. J. Mathar, Jun 18 2010
STATUS
approved