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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010713 Period 2: repeat (4,8). 2
4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 4, 8, 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)=-2*(-1)^n+6 a(n)=8*(n mod 2)+4*[(n+1) mod 2] - Paolo P. Lava, Oct 20 2006

G.f.: 4(1+2x)/((1-x)(1+x)). a(n)=4*A000034(n). [From R. J. Mathar, Oct 20 2008]

PROG

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

CROSSREFS

Cf. A176218.

Sequence in context: A247318 A019838 A155970 * A105398 A005883 A055026

Adjacent sequences:  A010710 A010711 A010712 * A010714 A010715 A010716

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 18 15:41 EDT 2019. Contains 325144 sequences. (Running on oeis4.)