OFFSET
0,1
COMMENTS
First two terms included for consistency with A076293.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,0,6,-6,0,-1,1).
FORMULA
a(3n+1) = 7*A046090(n).
a(0)=4, a(1)=7, a(2)=12, a(3)=15, a(4)=28, a(5)=55, a(6)=72, a(n)= a(n-1)+ 6*a(n-3)-6*a(n-4)-a(n-6)+a (n-7). - Harvey P. Dale, Feb 02 2012
G.f.: -(3*x^6-3*x^5-5*x^4-21*x^3+5*x^2+3*x+4) / ((x-1)*(x^6-6*x^3+1)). - Colin Barker, Sep 14 2014
EXAMPLE
15 is in the sequence as the longer leg of the (8,15,17) triangle.
MATHEMATICA
LinearRecurrence[{1, 0, 6, -6, 0, -1, 1}, {4, 7, 12, 15, 28, 55, 72}, 40] (* Harvey P. Dale, Feb 02 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, Oct 05 2002
STATUS
approved