A194187 Difference of n-th prime and (bitwise XOR of n and n-th prime).
-1, 2, -1, 4, -3, 2, -5, -8, -7, 6, 11, -4, 5, 6, 15, 16, 17, 14, -13, -12, -19, -10, 15, 24, -23, -26, -21, -12, -3, 2, 31, -32, -31, -30, -33, -28, -27, 30, 39, 40, 25, 22, 43, -44, -35, -34, -41, -16, 17, 14, 15, 20, 45, 46, -53, -56, -39, -38, -25, -12
Offset: 1
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Programs
-
Haskell
a194187_list = zipWith (-) a000040_list a070883_list
-
Mathematica
#[[2]]-BitXor[#[[1]],#[[2]]]&/@Table[{n,Prime[n]},{n,60}] (* Harvey P. Dale, Oct 05 2023 *)
Comments