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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A193232 Bitwise XOR of first n triangular numbers. 2
0, 1, 2, 4, 14, 1, 20, 8, 44, 1, 54, 116, 58, 97, 8, 112, 248, 97, 202, 116, 166, 65, 188, 424, 132, 449, 158, 484, 114, 449, 16, 480, 1008, 449, 914, 484, 894, 449, 804, 40, 796, 65, 966, 116, 938, 1953, 920, 2032, 872, 1953, 858, 1652, 790, 1665, 844, 1352 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

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

MATHEMATICA

Module[{nn=60, trs}, trs=Accumulate[Range[nn]]; Table[BitXor@@Take[trs, n], {n, 0, nn}]] (* Harvey P. Dale, Dec 15 2017 *)

PROG

(PARI) al(n) = local(m); vector(n, k, m=bitxor(m, k*(k+1)\2))

CROSSREFS

Cf. A145768, A003815.

Sequence in context: A091957 A056678 A218655 * A189486 A131758 A095909

Adjacent sequences:  A193229 A193230 A193231 * A193233 A193234 A193235

KEYWORD

nonn

AUTHOR

Franklin T. Adams-Watters, Jul 18 2011

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 19 08:27 EST 2018. Contains 299330 sequences. (Running on oeis4.)