This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A010681 Period 2: repeat (0,10). 0
 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 LINKS Index entries for linear recurrences with constant coefficients, signature (0,1). FORMULA a(n)=5*[1-(-1)^n] =10*(n mod 2) - Paolo P. Lava, Oct 20 2006 G.f.: 10x/((1-x)(1+x)). - R. J. Mathar, Nov 21 2011 MATHEMATICA PadRight[{}, 120, {0, 10}] (* Harvey P. Dale, Jan 15 2016 *) PROG (PARI) a(n)=n%2*10 \\ Charles R Greathouse IV, Jul 13 2016 CROSSREFS Sequence in context: A063741 A320227 A284780 * A095418 A055961 A196081 Adjacent sequences:  A010678 A010679 A010680 * A010682 A010683 A010684 KEYWORD nonn,easy AUTHOR 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.

Last modified October 15 10:15 EDT 2019. Contains 328026 sequences. (Running on oeis4.)