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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131724 Period 6: repeat [1, 9, 7, 13, 11, 9]. 1
1, 9, 7, 13, 11, 9, 1, 9, 7, 13, 11, 9, 1, 9, 7, 13, 11, 9, 1, 9, 7, 13, 11, 9, 1, 9, 7, 13, 11, 9, 1, 9, 7, 13, 11, 9, 1, 9, 7, 13, 11, 9, 1, 9, 7, 13, 11, 9, 1, 9, 7, 13, 11, 9, 1, 9, 7, 13, 11, 9, 1, 9, 7, 13, 11, 9, 1, 9, 7, 13, 11, 9, 1, 9, 7, 13, 11, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,1).

FORMULA

a(n) = (1/9)*{17*(n mod 6)+8*[(n+1) mod 6]+8*[(n+2) mod 6]-4*[(n+3) mod 6]+8*[(n+4) mod 6]-7*[(n+5) mod 6]}. - Paolo P. Lava, Oct 02 2007

From Wesley Ivan Hurt, Jun 18 2016: (Start)

G.f.: (1+9*x+7*x^2+13*x^3+11*x^4+9*x^5)/(1-x^6).

a(n) = a(n-6) for n>5.

a(n) = (25 - 6*cos(n*Pi) - 12*cos(n*Pi/3) - 4*cos(2*n*Pi/3) -2*sqrt(3)*sin(n*Pi/3) + 2*sqrt(3)*sin(2*n*Pi/3))/3. (End)

MAPLE

A131724:=n->[1, 9, 7, 13, 11, 9][(n mod 6)+1]: seq(A131724(n), n=0..100); # Wesley Ivan Hurt, Jun 18 2016

MATHEMATICA

Flatten[Table[{1, 9, 7, 13, 11, 9}, {20}]] (* Wesley Ivan Hurt, Jun 18 2016 *)

PadRight[{}, 100, {1, 9, 7, 13, 11, 9}] (* Vincenzo Librandi, Jun 19 2016 *)

PROG

(MAGMA) &cat[[1, 9, 7, 13, 11, 9]: n in [0..20]]; // Wesley Ivan Hurt, Jun 18 2016

CROSSREFS

Sequence in context: A010547 A011405 A268228 * A190995 A186830 A124050

Adjacent sequences:  A131721 A131722 A131723 * A131725 A131726 A131727

KEYWORD

nonn,easy

AUTHOR

Paul Curtz, Sep 16 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 22 05:29 EDT 2019. Contains 328315 sequences. (Running on oeis4.)