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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010688 Period 2: repeat (1,7). 7
1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

Continued fraction of (7+ sqrt 77)/14. - R. J. Mathar, Nov 21 2011

LINKS

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

FORMULA

a(n)=4-3(-1)^n; G.f.: (1+7x)/((1+x)(1-x)); E.g.f.: 4exp(x)-3exp(-x). - Paul Barry (pbarry(AT)wit.ie), May 23 2003

a(n)=7*(n mod 2)+(n+1) mod 2 - Paolo P. Lava (paoloplava(AT)gmail.com), Oct 20 2006

a(n)=7^n mod 8. [From Vincenzo Librandi, Feb 07 2011]

PROG

(Other) sage: [power_mod(7, n, 8)for n in xrange(0, 92)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 03 2009]

(MAGMA)[7^n mod 8: n in [0..80]]; [From Vincenzo Librandi, Feb 07 2011]

CROSSREFS

Sequence in context: A083530 A191562 A171544 * A176415 A198219 A198580

Adjacent sequences:  A010685 A010686 A010687 * A010689 A010690 A010691

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

Corrected formula . - Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Oct 30 2008

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 14 23:53 EST 2012. Contains 205689 sequences.