|
|
A006269
|
|
A continued cotangent.
(Formerly M4028)
|
|
12
|
|
|
|
OFFSET
|
0,1
|
|
REFERENCES
|
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
LINKS
|
|
|
FORMULA
|
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 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|