OFFSET
1,1
FORMULA
a(n) = 14*n - a(n-1) - 14 (with a(1) = 2). - Vincenzo Librandi, Nov 13 2010
From Wolfdieter Lang, Dec 15 2011: (Start)
a(n) = 7*n-(7-3*(-1)^n)/2.
O.g.f.: 2*x*(1+5*x+x^2)/((1+x)*(1-x)^2).
See the contribution of Bruno Berselli under A113801. (End)
Sum_{n>=1} (-1)^(n+1)/a(n) = cot(Pi/7)*Pi/14. - Amiram Eldar, Dec 30 2021
From Amiram Eldar, Nov 25 2024: (Start)
Product_{n>=1} (1 - (-1)^n/a(n)) = cosec(Pi/7)*sin(3*Pi/14).
Product_{n>=1} (1 + (-1)^n/a(n)) = cosec(Pi/7)*sin(Pi/14). (End)
MATHEMATICA
Select[Range[400], MemberQ[{2, 12}, Mod[#, 14]]&] (* Harvey P. Dale, Oct 30 2011 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Giovanni Teofilatto, Jan 22 2006
STATUS
approved