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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A130784 Periodic sequence with period 1 3 2 . 6
1, 3, 2, 1, 3, 2, 1, 3, 2, 1, 3, 2, 1, 3, 2, 1, 3, 2, 1, 3, 2, 1, 3, 2, 1, 3, 2, 1, 3, 2, 1, 3, 2, 1, 3, 2 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

Continued fraction expansion of (3+sqrt(37))/7. [From Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Apr 30 2010]

LINKS

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

FORMULA

a(n)=(n mod 3)+((n+1) mod 3), with n>=0. - Paolo P. Lava (paoloplava(AT)gmail.com), Jul 18 2007

PROG

(PARI) a(n)=[1, 3, 2][n%3+1] \\ Charles R Greathouse IV, Jun 02 2011

CROSSREFS

Cf. A176977.

Sequence in context: A164848 A130827 A070309 * A119910 A138034 A087818

Adjacent sequences:  A130781 A130782 A130783 * A130785 A130786 A130787

KEYWORD

nonn,easy

AUTHOR

Paul Curtz (bpcrtz(AT)free.fr), Jul 15 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 06:08 EST 2012. Contains 205986 sequences.