OFFSET
0,2
LINKS
C. Kimberling, Interspersions
C. Kimberling, Interspersions and dispersions, Proceedings of the American Mathematical Society 117 (1993) 313-321.
N. J. A. Sloane, Classic Sequences
MAPLE
with(combinat, fibonacci): gold:=(1+sqrt(5))/2: c1:=n->piecewise(n<>1, round((n-1)*gold), 1): c2:=n->c1(n)+floor((2*c1(n)+1)*gold/2)+1: inv_stol:=(n, k)->fibonacci(2*k-3)-1-c1(n)*fibonacci(2*k-4)+c2(n)*fibonacci(2*k-2): seq(inv_stol(n, n), n=1..30); inv_stol2:=(n, k)->(1+c1(n))*fibonacci(2*k-3)+(1+floor((2*c1(n)+1)*gold/2))*fibonacci(2*k-2)-1: seq(inv_stol2(n, n), n=1..30); inv_stol3:=proc(n, k) options remember: if k=1 then RETURN(c1(n)) elif k=2 then RETURN(c2(n)) else RETURN(3*inv_stol3(n, k-1)-inv_stol3(n, k-2)+1) fi: end: : seq(inv_stol3(n, n), n=1..30); (Ronaldo)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from C. Ronaldo (aga_new_ac(AT)hotmail.com), Jan 01 2005
STATUS
approved