|
Search: id:A070883
|
|
|
| A070883 |
|
Bitwise XOR of n and n-th prime. |
|
+0 1
|
|
| 3, 1, 6, 3, 14, 11, 22, 27, 30, 23, 20, 41, 36, 37, 32, 37, 42, 47, 80, 83, 92, 89, 68, 65, 120, 127, 124, 119, 112, 111, 96, 163, 168, 169, 182, 179, 184, 133, 128, 133, 154, 159, 148, 237, 232, 233, 252, 239, 210, 215, 218, 219, 196, 205, 310, 319, 308, 309, 302
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
LINKS
|
R. Zumkeller, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, aut.
Eric Weisstein's World of Mathematics, XOR.
|
|
EXAMPLE
|
A0000040(25)=97, [25]2 = '00011001', [97]2 = '01100001' '00011001' XOR '01100001' = '01111000', therefore a(25)=120.
|
|
MATHEMATICA
|
Table[ BitXor[ n, Prime[n]], {n, 1, 55}]
|
|
CROSSREFS
|
Sequence in context: A008795 A132180 A126191 this_sequence A120029 A133110 A086270
Adjacent sequences: A070880 A070881 A070882 this_sequence A070884 A070885 A070886
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Reinhard Zumkeller (reinhard.zumkeller(AT)lhsystems.com), May 22 2002
|
|
|
Search completed in 0.002 seconds
|