OFFSET
1,1
FORMULA
a(n) = phi^(n+2) + n + log_phi(n) + O(1), where phi = 1/2 + sqrt(5)/2 is the golden ratio. - Charles R Greathouse IV, Jan 17 2012
MATHEMATICA
nMax = 50; With[{luke = LucasL[Range[3, nMax + 2]], dn = Take[Join[{1}, Complement[Range[2nMax], Fibonacci[Range[2nMax]]]], nMax]}, Total /@ Thread[{luke, nMax}]] (* Harvey P. Dale, Jan 17 2012 *)
PROG
(PARI) b(n)=fibonacci(n+1)+fibonacci(n+3)
d(n)=my(k=2); n-=3; while(fibonacci(k++)<=n+k, ); n+k
a(n)=b(n)+d(n) \\ Charles R Greathouse IV, Jan 17 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(28)-a(37) corrected by Harvey P. Dale, Jan 17 2012
STATUS
approved