Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A152833
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A152833 a(0)=3; a(n)=n-a(n-1). +0
8
-3, 4, -2, 5, -1, 6, 0, 7, 1, 8, 2, 9, 3, 10, 4, 11, 5, 12, 6, 13, 7, 14, 8, 15, 9, 16, 10, 17, 11, 18, 12, 19, 13, 20, 14, 21, 15, 22, 16, 23, 17, 24, 18, 25, 19, 26, 20, 27, 21, 28, 22, 29, 23, 30, 24, 31, 25, 32, 26, 33, 27, 34, 28, 35, 29, 36, 30, 37, 31, 38, 32, 39, 33, 40, 34 (list; graph; listen)
OFFSET

0,1

FORMULA

a(n)=(2n+1-13*(-1)^n)/4. G.f.: -(3-7x+3x^2)/((1+x)(1-x)^2). - R. J. Mathar, Jan 08 2009

MATHEMATICA

lst={}; a=3; Do[a=n-a; AppendTo[lst, a], {n, 0, 6!}]; lst

CROSSREFS

Cf. A084964, A152832.

Sequence in context: A021296 A078069 A090131 this_sequence A139525 A133570 A117041

Adjacent sequences: A152830 A152831 A152832 this_sequence A152834 A152835 A152836

KEYWORD

sign

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Dec 14 2008

EXTENSIONS

Indices added to definition, offset corrected - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 08 2009

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 November 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research