OFFSET
0,1
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Jeffrey Shallit, Predictable regular continued cotangent expansions, J. Res. Nat. Bur. Standards Sect. B 80B (1976), no. 2, 285-290.
FORMULA
From Artur Jasinski, Oct 03 2008: (Start)
Recurrence: a(n+1)=a(n)^3+3*a(n) and a(0)=5.
a(n) = round((5/2 + sqrt(29)/2)^(3^(n - 1))). (End)
MATHEMATICA
a = {}; k = 5; Do[AppendTo[a, k]; k = k^3 + 3 k, {n, 1, 8}]; a (* Artur Jasinski, Oct 03 2008 *)
Table[Round[(5/2 + Sqrt[29]/2)^(3^(n - 1))], {n, 1, 8}] (* Artur Jasinski, Oct 03 2008 *)
NestList[#^3+3#&, 5, 5] (* Harvey P. Dale, Feb 14 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved