OFFSET
1,1
LINKS
FORMULA
From Vincenzo Librandi, Aug 06 2010: (Start)
a(n) = a(n-1) + a(n-2) - a(n-3).
a(n) = 8*n - a(n-1) - 5, n > 1. (End)
G.f. x*(5+x+2*x^2) / ( (1+x)*(x-1)^2 ). - R. J. Mathar, Dec 07 2011
Sum_{n>=1} (-1)^(n+1)/a(n) = (2-sqrt(2))*Pi/16 + log(2)/8 - sqrt(2)*log(sqrt(2)+1)/8. - Amiram Eldar, Dec 19 2021
MATHEMATICA
Select[Range[200], MemberQ[{5, 6}, Mod[#, 8]] &] (* Amiram Eldar, Dec 19 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved