Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A076840
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A076840 a(1) = a(2) = 1; a(n) = (a(n-1)+1)/a(n-2) (for n>2, n odd), (a(n-1)^2+1)/a(n-2) (for n>2, n even). +0
5
1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2, 5, 3, 2, 1, 1, 2 (list; graph; listen)
OFFSET

1,3

COMMENT

Any sequence a(1),a(2),a(3),... defined by the recurrence a(n) = (a(n-1)+1)/a(n-2) (for n>2, n odd), (a(n-1)^2+1)/a(n-2) (for n>2, n even) has period 6. The theory of cluster algebras currently being developed by Fomin and Zelevinsky gives a context for these facts, but it doesn't really explain them in an elementary way. - James Propp, Nov 20, 2002

Terms of the simple continued fraction of 43/[3*sqrt(434)-37]. Decimal expansion of 16076/142857. [From Paolo P. Lava (ppl(AT)spl.at), Aug 05 2009]

LINKS

Sergey Fomin and Andrei Zelevinsky, Cluster algebras II: Finite type classification

FORMULA

a(n)=1/90*{29*(n mod 6)+29*[(n+1) mod 6]+44*[(n+2) mod 6]-31*[(n+3) mod 6]-[(n+4) mod 6]+14*[(n+5) mod 6]} with n>=0 - Paolo P. Lava (ppl(AT)spl.at), Nov 27 2006

MAPLE

a := 1; b := 1; f := proc(n) option remember; global a, b; if n=1 then RETURN(a); fi; if n=2 then RETURN(b); fi; if n mod 2 = 1 then RETURN((f(n-1)+1)/f(n-2)); fi; RETURN((f(n-1)^2+1)/f(n-2)); end;

CROSSREFS

Cf. A076839, A076841, A076844.

Sequence in context: A021399 A159897 A019709 this_sequence A078375 A065261 A130848

Adjacent sequences: A076837 A076838 A076839 this_sequence A076841 A076842 A076843

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Nov 21 2002

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 | The OEIS Foundation | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified March 20 09:10 EDT 2010. Contains 173642 sequences.


AT&T Labs Research