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

 

Logo


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

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

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. [From R. J. Mathar, Sep 01 2008]

MATHEMATICA

LinearRecurrence[{0, 0, 1}, {0, 1, 2, 1}, 120] (* Harvey P. Dale, Aug 01 2016 *)

CROSSREFS

Sequence in context: A132367 A087204 * A177702 A131534 A061347 A115579

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

License Agreements, Terms of Use, Privacy Policy .

Last modified March 28 21:25 EDT 2017. Contains 284246 sequences.