login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

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

0,3

COMMENTS

Equals A002798 mod 9.

LINKS

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

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

FORMULA

a(n) = (1/10)*{7*(n mod 6)+2*[(n+1) mod 6]+7*[(n+2) mod 6]+2*[(n+3) mod 6]-8*[(n+4) mod 6]+2*[(n+5) mod 6]}, with n>=0. [Paolo P. Lava, Nov 06 2008]

From Richard Choulet, Dec 02 2008: (Start)

a(n+6) = a(n) with a(0)=a(1)=0, a(2)=a(3)=6, a(4)=a(5)=3.

O.g.f: f(z)=a(0)+a(1)*z+...=((6*z^2+3*z^4)/((1-z)*(1+z+z^2)*(1-z+z^2))).

a(n) = 3-sqrt(3)*sin(2*Pi*n/3)-3*cos(Pi*n/3). (End)

a(n) = a(n-1) - a(n-2) + a(n-3) - a(n-4) + a(n-5) for n>4. - Wesley Ivan Hurt, Jun 18 2016

MAPLE

A146761:=n->[0, 0, 6, 6, 3, 3][(n mod 6)+1]: seq(A146761(n), n=0..100); # Wesley Ivan Hurt, Jun 18 2016

MATHEMATICA

PadRight[{}, 108, {0, 0, 6, 6, 3, 3}] (* Harvey P. Dale, May 01 2012 *)

PROG

(MAGMA) &cat[[0, 0, 6, 6, 3, 3]^^20]; // Wesley Ivan Hurt, Jun 18 2016

CROSSREFS

Cf. A002798.

Sequence in context: A154006 A143080 A011484 * A010498 A339083 A240502

Adjacent sequences:  A146758 A146759 A146760 * A146762 A146763 A146764

KEYWORD

nonn,easy

AUTHOR

Paul Curtz, Nov 02 2008

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 December 5 12:24 EST 2021. Contains 349557 sequences. (Running on oeis4.)