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

 

Logo


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

0,1

LINKS

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

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

FORMULA

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

G.f.: -2*(2+3*x)/((x-1)*(1+x)).

a(n) = 2*A010693(n).

PROG

(PARI) a(n)=n%2*2+4 \\ Charles R Greathouse IV, Jun 11 2015

CROSSREFS

Sequence in context: A091651 A199865 A196818 * A168428 A127018 A083396

Adjacent sequences:  A010708 A010709 A010710 * A010712 A010713 A010714

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

EXTENSIONS

First formula corrected by Paolo P. Lava, Mar 14 2011

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 16 04:26 EDT 2019. Contains 325064 sequences. (Running on oeis4.)