Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A003816
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A003816 a(0) = 0, a(n) = a(n-1) XOR -n. +0
2
0, 1, -1, 4, 0, 5, -1, 8, 0, 9, -1, 12, 0, 13, -1, 16, 0, 17, -1, 20, 0, 21, -1, 24, 0, 25, -1, 28, 0, 29, -1, 32, 0, 33, -1, 36, 0, 37, -1, 40, 0, 41, -1, 44, 0, 45, -1, 48, 0, 49, -1, 52, 0, 53, -1, 56, 0, 57, -1, 60, 0, 61, -1, 64, 0, 65, -1, 68 (list; graph; listen)
OFFSET

0,4

FORMULA

|a(n)| = n-(-1)^n*|a(n-1)|. - Vladeta Jovovic (vladeta(AT)Eunet.yu), Mar 13 2003

a(4n)=0, a(4n+1)=4n+1, a(4n+2)=-1, a(4n+3)=4n+4, n>=0.

MAPLE

(1-x+3*x^2+x^3)*x/(1-x^4)/(1-x^2);

CROSSREFS

Cf. A003815.

Sequence in context: A081550 A046779 A051352 this_sequence A083745 A019906 A049247

Adjacent sequences: A003813 A003814 A003815 this_sequence A003817 A003818 A003819

KEYWORD

sign

AUTHOR

Marc LeBrun (mlb(AT)well.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 July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research