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

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

0,3

COMMENTS

Continued fraction expansion of (4+sqrt(65))/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,0,0,1).

FORMULA

a(n)=(1/25)*{3*(n mod 5)+3*[(n+1) mod 5]+8*[(n+2) mod 5]-2*[(n+3) mod 5]+3*[(n+4) mod 5]}, with n>=0. - Paolo P. Lava (paoloplava(AT)gmail.com), Aug 28 2007

PROG

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

CROSSREFS

Cf. A176976 (decimal expansion of (4+sqrt(65))/7). [From Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Apr 30 2010]

Sequence in context: A202053 A074064 A139549 * A177706 A055457 A032542

Adjacent sequences:  A130779 A130780 A130781 * A130783 A130784 A130785

KEYWORD

nonn,easy,less

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 21:13 EST 2012. Contains 206085 sequences.