Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A022003
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A022003 Decimal expansion of 1/999. +0
11
0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1 (list; cons; graph; listen)
OFFSET

0,1

COMMENT

Expansion in any base b of 1/(b^3-1). E.g. 1/7 in base 2, 1/26 in base 3, 1/63 in base 4, etc. - Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Nov 07 2006

a(n) = A130196(n) - A131534(n). [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Nov 12 2009]

FORMULA

G.f.: x^2/(1-x^3). a(n)=-(1/2)((-1)^Floor[(2n-1)/3]+(-1)^Floor[(2n+1)/3]) - Mario Catalani (mario.catalani(AT)unito.it), Jan 07 2003

a(n)=2/3*{cos[2*(n+1)*Pi/3]+1/2} with n>=0 a(n)=1-[(n+1)^2 mod 3] with n>=0 a(n)=1/9*{4*(n mod 3)-2*[(n+1) mod 3]+[(n+2) mod 3] with n>=0 - Paolo P. Lava (ppl(AT)spl.at), Nov 29 2006

a(n)=((n+2) mod 3) mod 2. Also: a(n)=1/2*(1-(-1)^(n+floor((n+2)/3))). - Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), May 29 2007

a(n)=(1+(-1)^Fib(n+1))/2, where Fib(n)=A000045(n). - Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), Jun 14 2007

PROGRAM

(PARI) a(n)=n%3==2 [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Mar 24 2009]

CROSSREFS

Essentially the same as A079978.

Cf. A068601.

Partial sums are given by A002264(n+1).

Sequence in context: A030315 A080887 A099395 this_sequence A131531 A144604 A022926

Adjacent sequences: A022000 A022001 A022002 this_sequence A022004 A022005 A022006

KEYWORD

nonn,cons,new

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 1 19:22 EST 2009. Contains 167811 sequences.


AT&T Labs Research