|
|
A238799
|
|
a(0) = 1, a(n+1) = 2*a(n)^3 + 3*a(n).
|
|
2
|
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
a(6) has 209 digits and is too large to include.
Except for the first term, this is a subsequence of A175180.
The squares larger than 1 are in A076445.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = sqrt(2) * sinh( 3^n * arcsinh(1/sqrt(2)) ) = (1+sqrt(3))/2 * (2+sqrt(3))^((3^n-1)/2) + (1-sqrt(3))/2 * (2-sqrt(3))^((3^n-1)/2). - Max Alekseyev, Sep 04 2018
|
|
MATHEMATICA
|
RecurrenceTable[{a[0] == 1, a[n] == 2*a[n - 1]^3 + 3*a[n - 1]}, a[n], {n, 5}]
|
|
PROG
|
(PARI) a=1; print1(a, ", "); for(n=1, 5, b=2*a^3+3*a; print1(b, ", "); a=b);
(PARI) { A238799(n) = my(q=Mod(x, x^2-3)); lift( (1+q)*(2+q)^((3^n-1)/2) + (1-q)*(2-q)^((3^n-1)/2) )/2; } \\ Max Alekseyev, Sep 04 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|