Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A130196
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A130196 Period 3: repeat 1 2 2. +0
13
1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2 (list; graph; listen)
OFFSET

0,2

COMMENT

Contribution from Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Nov 12 2009: (Start)

Denominator of x(n)=x(n-1)+x(n-2), x(0)=1, x(1)=1/2; numerator=A167808;

a(n) = A131534(n)+A022003(n) = A080425(n)-A131534(n)+2 = A153727(n)/A131534(n). (End)

FORMULA

a(0)=1,a(1)=a(2)=2,a(n+3)=a(n).

a(n)=(1/9)*{8*(n mod 3)+5*[(n+1) mod 3]+2*[(n+2) mod 3]}, with n>=0. - Paolo P. Lava (ppl(AT)spl.at), Aug 28 2007

G.f.: -(1+2*x+2*x^2)/(x-1)/(x^2+x+1). - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 14 2007

Closed form: a(n)=5/3+(2/3)*[ -1/2-(1/2*I)*sqrt(3)]^(-2)*[ -1/2-(1/2*I)*sqrt(3)]^n+(2/3)*[ -1/2+(1/2*I) *sqrt(3)]^(-2)*[ -1/2+(1/2*I)*sqrt(3)]^n+(1/3)*[ -1/2-(1/2*I)*sqrt(3)]^n+(1/3)*[ -1/2 +(1/2*I)*sqrt(3)]^n+(2/3)*[ -1/2-(1/2*I)*sqrt(3)]^(-1)*[ -1/2-(1/2*I)*sqrt(3)]^n+(2/3 )*[ -1/2+(1/2*I)*sqrt(3)]^(-1)*[ -1/2+(1/2*I)*sqrt(3)]^n, with n>=0 and I=sqrt(-1) - Paolo P. Lava (ppl(AT)spl.at), Jul 17 2008

a(n)=(5-2*cos(2*pi*n/3))/3 [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Nov 23 2008]

a(n) = 2 - 0^(n mod 3). [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Nov 12 2009]

CROSSREFS

Sequence in context: A102297 A098398 A131714 this_sequence A158209 A119646 A024693

Adjacent sequences: A130193 A130194 A130195 this_sequence A130197 A130198 A130199

KEYWORD

nonn

AUTHOR

Paul Curtz (bpcrtz(AT)free.fr), Aug 05 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research