login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A145505 a(n+1)=a(n)^2+2*a(n)-2 and a(1)=5 3
5, 33, 1153, 1331713, 1773462177793, 3145168096065837266706433, 9892082352510403757550172975146702122837936996353 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
General formula for a(n+1)=a(n)^2+2*a(n)-2 and a(1)=k+1 is a(n)=Floor[((k + Sqrt[k^2 + 4])/2)^(2^((n+1) - 1))
LINKS
FORMULA
From Peter Bala, Nov 12 2012: (Start)
a(n) = alpha^(2^(n-1)) + (1/alpha)^(2^(n-1)) - 1, where alpha := 3 + 2*sqrt(2).
a(n) = (1 + sqrt(2))^(2^n) + (sqrt(2) - 1)^(2^n) - 1.
a(n) = A003423(n-1) - 1. a(n) = 2*A001601(n) - 1. a(n) = 4*A190840(n-1) + 1.
Recurrence: a(n) = 7*{product {k = 1..n-1} a(k)} - 2 with a(1) = 5.
Product {n = 1..inf} (1 + 1/a(n)) = 7/8*sqrt(2).
Product {n = 1..inf} (1 + 2/(a(n) + 1)) = sqrt(2).
(End)
MATHEMATICA
aa = {}; k = 5; Do[AppendTo[aa, k]; k = k^2 + 2 k - 2, {n, 1, 10}]; aa
or
k =4; Table[Floor[((k + Sqrt[k^2 + 4])/2)^(2^(n - 1))], {n, 2, 7}] (*Artur Jasinski*)
NestList[#^2+2#-2&, 5, 7] (* Harvey P. Dale, Mar 19 2011 *)
CROSSREFS
Sequence in context: A268296 A212296 A276160 * A276126 A193325 A303693
KEYWORD
nonn
AUTHOR
Artur Jasinski, Oct 11 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 17:51 EDT 2024. Contains 371962 sequences. (Running on oeis4.)