|
|
A006242
|
|
Extracting a square root.
(Formerly M4758)
|
|
4
|
|
|
|
OFFSET
|
1,1
|
|
REFERENCES
|
Jeffrey Shallit, personal communication.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
LINKS
|
|
|
FORMULA
|
a(1) = 10, a(n) = a(n-1)^3 - 3*a(n-1) [From Escott]. - Sean A. Irvine, Feb 08 2017
a(n) = (5 + 2*sqrt(6))^(3^(n-1)) + (5 - 2*sqrt(6))^(3^(n-1)). - Bruno Berselli, Feb 10 2017
a(n) = 2*T(3^(n-1),5), where T(n,x) deotes the n-th Chebyshev polynomial of the first kind. - Peter Bala, Mar 29 2022
|
|
MATHEMATICA
|
RecurrenceTable[{a[1]==10, a[n]==a[n-1]^3 - 3 a[n-1]}, a, {n, 8}] (* Vincenzo Librandi, Feb 09 2017 *)
|
|
PROG
|
(Magma) [n eq 1 select 10 else Self(n-1)^3-3*Self(n-1): n in [1..5]]; // Vincenzo Librandi, Feb 09 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|