OFFSET
0,2
COMMENTS
The Berndt-type sequence number 6 for the argument 2Pi/9 defined by the first relation from the section "Formula" below. Two sequences connected with a(n) (possessing the respective numbers 5 and 7) are discussed in A215664 and A215666 - for more details see comments to A215664 and Witula's reference. We have a(n) - a(n+1) = A215664(n).
From initial values and the recurrence formula we deduce that a(n)/3 are all integers.
We note that a(10) is the first element of a(n) which is positive integer and all (-1)^n*a(n+10) are positive integer, which can be obtained from the title recurrence relation.
The following decomposition holds (X - c(1)*c(2)^n)*(X - c(2)*c(4)^n)*(X - c(4)*c(1)^n) = X^3 - a(n)*X^2 - A215917(n-1)*X + (-1)^n.
LINKS
Barbara Smolen and Roman Witula, Two-parametric quasi-Fibonacci numbers, Silesian J. Pure Appl. Math. vol. 7, is. 1 (2017), 99-121.
Roman Witula, Ramanujan type trigonometric formulae, Demonstratio Math., Volume 45, Issue 4, May 2017.
Index entries for linear recurrences with constant coefficients, signature (0,3,-1).
FORMULA
a(n) = c(1)*c(2)^n + c(2)*c(4)^n + c(4)*c(1)^n, where c(j) := 2*cos(2*Pi*j/9).
G.f.: -3*x*(1+x)/(1-3*x^2+x^3).
EXAMPLE
We have a(1)=a(2)=a(8)=-3, a(3)=a(6)=-9, a(4)+a(11)=-10*a(10), and 47*a(5)=2*a(11).
MATHEMATICA
LinearRecurrence[{0, 3, -1}, {0, -3, -3}, 50]
PROG
(PARI) concat(0, Vec(-3*(1+x)/(1-3*x^2+x^3)+O(x^99))) \\ Charles R Greathouse IV, Oct 01 2012
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Roman Witula, Aug 20 2012
STATUS
approved
