

A131083


Periodic sequence (26, 16, 6, 2, 6, 16, 26, 30).


5



26, 16, 6, 2, 6, 16, 26, 30, 26, 16, 6, 2, 6, 16, 26, 30, 26, 16, 6, 2, 6, 16, 26, 30, 26, 16, 6, 2, 6, 16, 26, 30, 26, 16, 6, 2, 6, 16, 26, 30, 26, 16, 6, 2, 6, 16, 26, 30, 26, 16, 6, 2, 6, 16, 26, 30, 26, 16, 6, 2, 6, 16, 26, 30, 26, 16, 6, 2, 6, 16, 26, 30, 26, 16, 6, 2, 6, 16, 26, 30
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Sixth column of triangular array T defined in A131074.


LINKS

Table of n, a(n) for n=1..80.
Index entries for linear recurrences with constant coefficients, signature (1,0,0,1,1).


FORMULA

a(1) = a(7) = 26, a(2) = a(6) = 16, a(3) = a(5) = 6, a(4) = 2, a(8) = 30; for n > 8, a(n) = a(n8).
G.f.: (2610*x10*x^24*x^3+30*x^4)/((1x)*(1+x^4))
a(n)=(1/28)*{30*(n mod 8)+2*[(n+1) mod 8]19*[(n+2) mod 8]19*[(n+3) mod 8]+2*[(n+4) mod 8]+30*[(n+5) mod 8]+51*[(n+6) mod 8]+51*[(n+7) mod 8]}, with n>=0.  Paolo P. Lava and Giorgio Balzarotti, Jun 19 2007


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=(n1)%8; print1(if(r==0r==6, 26, if(r==1r==5, 16, if(r==2r==4, 6, if(r==3, 2, 30)))), ", "))}
(MAGMA) m:=80; [ [26, 16, 6, 2, 6, 16, 26, 30][(n1) mod 8 + 1]: n in [1..m] ];


CROSSREFS

Cf. A131074, A131030.
Sequence in context: A304138 A305044 A064267 * A203597 A040652 A154295
Adjacent sequences: A131080 A131081 A131082 * A131084 A131085 A131086


KEYWORD

nonn,easy,less


AUTHOR

Klaus Brockhaus, following a suggestion of Paul Curtz, Jun 14 2007


STATUS

approved



