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; 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(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 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=(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: 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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 15 05:43 EDT 2019. Contains 328026 sequences. (Running on oeis4.)