login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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; internal format)
OFFSET

1,1

COMMENTS

Sixth column of triangular array T defined in A131074.

LINKS

Index entries for sequences related to 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(n-8).

G.f.: (26-10*x-10*x^2-4*x^3+30*x^4)/((1-x)*(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 & Giorgio Balzarotti (paoloplava(AT)gmail.com), Jun 19 2007

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

Cf. A131074, A131030.

Sequence in context: A036168 A005606 A064267 * A203597 A040652 A154295

Adjacent sequences:  A131080 A131081 A131082 * A131084 A131085 A131086

KEYWORD

nonn,easy,less

AUTHOR

Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), following a suggestion of Paul Curtz (bpcrtz(AT)free.fr), Jun 14 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 05:09 EST 2012. Contains 205570 sequences.