<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=content-type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY bottomMargin=0 leftMargin=3 topMargin=0 rightMargin=3>
<DIV>Thomas, et al,</DIV>
<DIV>        I see now that my offset for 
lucas(n) is wrong - the proper definition is: </DIV>
<DIV> </DIV>
<DIV>    lucas(n)=fibonacci(n+2)-fibonacci(n-2)</DIV>
<DIV> </DIV>
<DIV>Then your formula is correct except the funny characters at the end.</DIV>
<DIV>The corrected form of your formula is:</DIV>
<DIV>  </DIV>
<DIV>(*)  
a(n)=floor((lucas(2*n)-lucas(n))*sqrt(5)/10+(n%2)*fibonacci(n)+(1-n%2))<BR>  </DIV>
<DIV>where n%2 = n (mod 2).</DIV>
<DIV> <BR>I am confident that this (*) was your original 
formula.</DIV>
<DIV>Paul</DIV>
<DIV> </DIV>
<DIV>On Sun, 29 Aug 2004 14:51:55 -0400 "Paul D. Hanna" <<A 
href="mailto:pauldhanna@juno.com">pauldhanna@juno.com</A>> writes:</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 10px; MARGIN-LEFT: 10px; BORDER-LEFT: #000000 2px solid">
  <DIV></DIV>
  <DIV>Hello Thomas, </DIV>
  <DIV>       Perhaps this is the formula for 
  a(n) that you had?</DIV>
  <DIV>This is what is NOW in A049602:</DIV>
  <DIV>(1)  Floor((lucas(2n)-lucas(n))*sqrt(5)/10+(n%2)?fibonacci(n):1).<BR> </DIV>
  <DIV>Here is my PARI code that generates sequece A049602:</DIV>
  <DIV>   </DIV>
  <DIV>(2)  
  a(n)=floor((lucas(2*n)-lucas(n))/(5+sqrt(5))+(n%2)*fibonacci(n)+(1-n%2))</DIV>
  <DIV> </DIV>
  <DIV>where:</DIV>
  <DIV> </DIV>
  <DIV>(3)  lucas(n)=fibonacci(n+3)-fibonacci(n-1)</DIV>
  <DIV>  </DIV>
  <DIV>Paul</DIV></BLOCKQUOTE></BODY></HTML>