OFFSET
1,1
COMMENTS
Sixth column of triangular array T defined in A131074.
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,-1,1).
FORMULA
a(n) = a(n-8).
G.f.: x*(26-10*x-10*x^2-4*x^3+30*x^4)/((1-x)*(1+x^4)).
MATHEMATICA
PadRight[{}, 90, {26, 16, 6, 2, 6, 16, 26, 30}] (* Harvey P. Dale, Nov 02 2017 *)
PROG
(PARI) {m=80; for(n=1, m, r=(n-1)%8; print1(if(r==0||r==6, 26, if(r==1||r==5, 16, if(r==2||r==4, 6, if(r==3, 2, 30)))), ", "))}
(Magma) m:=80; [ [26, 16, 6, 2, 6, 16, 26, 30][(n-1) mod 8 + 1]: n in [1..m] ];
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Klaus Brockhaus, following a suggestion of Paul Curtz, Jun 14 2007
STATUS
approved