OFFSET
0,5
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..19
A. V. Aho and N. J. A. Sloane, Some doubly exponential sequences, Fibonacci Quarterly, Vol. 11, No. 4 (1973), pp. 429-437, alternative link.
FORMULA
Equals A142471/2.
a(n) is about 1/2*c^(phi^n), where c = 1.27817816239858832577... and phi is the golden ratio. - Charles R Greathouse IV, Mar 21 2012, corrected by Vaclav Kotesovec, May 05 2015
MATHEMATICA
a[n_]:=a[n]=If[n<2, 0, 2*a[n-1]*a[n-2]+1]; Table[a[n], {n, 0, 15}] (* G. C. Greubel, May 29 2021 *)
PROG
(Magma) I:=[0, 0]; [n le 2 select I[n] else 2*Self(n-1)*Self(n-2)+1: n in [1..15]]; // Vincenzo Librandi, Nov 14 2011
(Sage)
def a(n): return 0 if (n<2) else 2*a(n-1)*a(n-2) + 1
[a(n) for n in (0..10)] # G. C. Greubel, May 29 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, based on email from Carla J. Garner-Bennett, Nov 13 2008
STATUS
approved