|
|
A006243
|
|
Extracting a square root.
(Formerly M5412)
|
|
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(n) = (99 + 70*sqrt(2))^(3^(n-1)) + (99 - 70*sqrt(2))^(3^(n-1)). - Bruno Berselli, Feb 10 2017
|
|
MATHEMATICA
|
RecurrenceTable[{a[1]==198, a[n]==a[n-1]^3 - 3 a[n-1]}, a, {n, 8}] (* Vincenzo Librandi, Feb 09 2017 *)
|
|
PROG
|
(Magma) [n eq 1 select 198 else Self(n-1)^3-3*Self(n-1): n in [1..5]]; // Vincenzo Librandi, Feb 09 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|