OFFSET
1,2
COMMENTS
Sum of labeled numbers of boxes arranged as Pyramid type-II with base Fibonacci(n).
Let us call a Pyramid "type-I" when each row starts with the same number as the leftmost base number, and "type-II" when each column has the same number as the base.
The Pyramid arrangements are related to other sequences as follows:
Base Number Type-I Type-II
----------- ------ -------
Fibonacci A129696 a(n)
1,0 A008805
See illustration in links.
LINKS
Kival Ngaokrajang, Illustration for some small n.
Index entries for linear recurrences with constant coefficients, signature (2,1,-3,1,-1,0,1).
FORMULA
For n >=2, a(n) = a(n-1) + A129361(n-1).
G.f. -x*(1+x)*(x^2-x+1) / ( (x-1)*(x^2+x-1)*(x^4+x^2-1) ). - Joerg Arndt, Jul 10 2013
PROG
(Small Basic)
a[1] = 1
k = 0
s5 = Math.SquareRoot(5)
For n = 2 To 51
If Math.Remainder(n, 2)=0 Then
i = (n+2)/2
Else
i = (n+1)/2
EndIf
For j = i To n
k = k + Math.Round(Math.Power((1+s5)/2, j)/s5)
EndFor
a[n] = a[n-1] + k
TextWindow.Write(a[n-1] + ", ")
k = 0
EndFor
CROSSREFS
KEYWORD
nonn
AUTHOR
Kival Ngaokrajang, Jul 08 2013
STATUS
approved