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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010689 Periodic sequence: Repeat 1, 8. 4
1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1 (list; constant; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

Also the digital root of 8^n. Also the decimal expansion of 2/11. - Cino Hilliard (hillcino368(AT)gmail.com), Dec 31 2004

Interleaving of A000012 and A010731. [From Klaus Brockhaus, Apr 02 2010]

Continued fraction expansion of (2+Sqrt(6))/4. [From Klaus Brockhaus, Apr 02 2010]

FORMULA

G.f. : (1+8x)/((1-x)(1+x)); a(n)=(9-7(-1)^n)/2; a(n)=8^(ceiling(n/2)-floor(n/2)); a(n)=gcd((n-1)^3, (n+1)^3). - Paul Barry (pbarry(AT)wit.ie), Sep 16 2004

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

PROG

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

(MAGMA) &cat[ [1, 8]: n in [0..52] ]; [From Klaus Brockhaus, Apr 02 2010]

CROSSREFS

Cf. A000012 (all 1's sequence), A010731 (all 8's sequence), A174925 (decimal expansion of (2+sqrt(6))/4). [From Klaus Brockhaus, Apr 02 2010]

Sequence in context: A154460 A021554 A021059 * A070637 A070651 A010519

Adjacent sequences:  A010686 A010687 A010688 * A010690 A010691 A010692

KEYWORD

nonn,cofr,cons

AUTHOR

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

EXTENSIONS

Definition edited and keywords cons, cofr added by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Apr 02 2010

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 15 21:56 EST 2012. Contains 205860 sequences.