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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010704 Period 2: repeat (3,6). 8
3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

Continued fraction expansion of A176105. - R. J. Mathar, Mar 08 2012

a(n) = A213999(n,2). - Reinhard Zumkeller, Jul 03 2012

LINKS

Table of n, a(n) for n=0..80.

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

FORMULA

a(n)=-3/2*(-1)^n+9/2 =6*(n mod 2)+3*[(n+1) mod 2] - Paolo P. Lava, Oct 20 2006

G.f. 3*(1+2x)/((1-x)*(1+x)). - R. J. Mathar, Nov 21 2011

a(n) = 3 * A000034(n). - Reinhard Zumkeller, Jul 03 2012

MATHEMATICA

PadRight[{}, 120, {3, 6}] (* Harvey P. Dale, Dec 12 2012 *)

PROG

(PARI) a(n)=3+n%2*3 \\ Charles R Greathouse IV, Dec 21 2011

(Haskell)

a010704 n = (* 3) . a000034

a010704_list = cycle [3, 6]  -- Reinhard Zumkeller, Jul 03 2012

CROSSREFS

Sequence in context: A124860 A182412 A038138 * A303129 A170859 A123146

Adjacent sequences:  A010701 A010702 A010703 * A010705 A010706 A010707

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 22 23:18 EDT 2018. Contains 316518 sequences. (Running on oeis4.)