login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A169811 a(n) = n XOR n*(n+1)/2. 6
0, 0, 1, 5, 14, 10, 19, 27, 44, 36, 61, 73, 66, 86, 103, 119, 152, 136, 185, 173, 198, 242, 235, 259, 308, 348, 325, 353, 394, 430, 463, 495, 560, 528, 625, 597, 702, 666, 707, 811, 796, 884, 941, 921, 1010, 1062, 1047, 1095, 1192, 1272, 1225, 1309, 1366, 1442, 1531 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
MATHEMATICA
Table[BitXor[n (n + 1)/2, n], {n, 0, 100}] (* Vladimir Joseph Stephan Orlovsky, Jul 17 2011 *)
PROG
(PARI) a(n)=bitxor(n, n*(n+1)/2); \\ Michel Marcus, Jul 08 2019
CROSSREFS
Sequence in context: A292249 A205134 A196363 * A272970 A168213 A175485
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 28 2010
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 08:27 EDT 2024. Contains 371964 sequences. (Running on oeis4.)