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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A141571 Decimal expansion of 11999/99900. 2
1, 2, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0 (list; constant; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

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

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

FORMULA

G.f.: (1+2*x-x^4)/(1-x^3). - Jaume Oliver Lafont, Mar 24 2009

a(n) = (1/9)*(-(n mod 3)+5*((n+1) mod 3) + 5*((n+2) mod 3)) + (binomial((n+1)^2,n+3)] mod 2), with n >= 0. - Paolo P. Lava, Mar 31 2009

EXAMPLE

.12011011011011011011011011011011011011011011011011011011011...

MATHEMATICA

Join[{1, 2}, LinearRecurrence[{0, 0, 1}, {0, 1, 1}, 97]] (* Ray Chandler, Aug 25 2015 *)

PROG

(PARI) a(n)=(n%3!=2)+(n==1) \\ Jaume Oliver Lafont, Mar 24 2009

CROSSREFS

Cf. A110044.

Sequence in context: A260728 A065339 A122434 * A164067 A305490 A113706

Adjacent sequences:  A141568 A141569 A141570 * A141572 A141573 A141574

KEYWORD

nonn,cons

AUTHOR

Eric Desbiaux, Sep 13 2008

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 October 22 04:25 EDT 2019. Contains 328315 sequences. (Running on oeis4.)