|
| |
|
|
A070883
|
|
Bitwise XOR of n and n-th prime.
|
|
7
| |
|
|
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; refs; listen; history; internal format)
|
|
|
|
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
| Cf. A169810, A169811,
Sequence in context: A165188 A132180 A126191 * A120029 A201904 A133110
Adjacent sequences: A070880 A070881 A070882 * A070884 A070885 A070886
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), May 22 2002
|
| |
|
|