OFFSET
0,2
COMMENTS
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
MAPLE
b:=proc(n) option remember; if n<=2 then 1 else b(n-b(n-1))+b(n-b(n-2)): fi: end: a[0]:=1: for n from 1 to 71 do a[n]:=b(n)+b(n+2) od: seq(a[n], n=0..71);
MATHEMATICA
F[0] = 0; F[1] = 1; F[2] = 1; F[n_] := F[n] = F[n - F[n - 1]] + F[n - F[n - 2]] L[0] = 1; L[n_] := L[n] = F[n - 1] + F[n + 1]
Table[L[n], {n, 1, 200}]
PROG
(Haskell)
a116590 n = a116590_list !! n
a116590_list = 1 : zipWith (+) a005185_list (drop 2 a005185_list)
-- Reinhard Zumkeller, Apr 25 2012
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Roger L. Bagula, Mar 27 2006
EXTENSIONS
Edited by N. J. A. Sloane, Apr 15 2006
STATUS
approved