The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A101825 G.f.: x*(1+x)^2/(1-x^3). 3
 0, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 COMMENTS Period 3. Used in A042965. First differences are essentially A049347. The binomial transform yields 0, 1, 4, 10,... i.e. A111927 with the first two zeros removed. - R. J. Mathar, May 14 2008 LINKS Index entries for linear recurrences with constant coefficients, signature (0,0,1). FORMULA a(n) = (1/9)*{7*(n mod 3)+[(n+1) mod 3]+4*[(n+2) mod 3]}+[(n+2) mod (n+1)]-1, with n>=0. - Paolo P. Lava, Aug 29 2007 a(n) = A100063(n+1), n>0. - R. J. Mathar, Sep 01 2008 MATHEMATICA LinearRecurrence[{0, 0, 1}, {0, 1, 2, 1}, 120] (* Harvey P. Dale, Aug 01 2016 *) PROG (PARI) x='x+O('x^50); Vec(x*(1+x)^2/(1-x^3)) \\ G. C. Greubel, May 03 2017 CROSSREFS Sequence in context: A107751 A132367 A087204 * A177702 A131534 A061347 Adjacent sequences:  A101822 A101823 A101824 * A101826 A101827 A101828 KEYWORD nonn,easy AUTHOR N. J. A. Sloane, Jun 17 2007 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 April 15 08:31 EDT 2021. Contains 342977 sequences. (Running on oeis4.)