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!)
A194187 Difference of n-th prime and (bitwise XOR of n and n-th prime). 2
-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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n) = A000040(n) - A070883(n).
LINKS
MATHEMATICA
#[[2]]-BitXor[#[[1]], #[[2]]]&/@Table[{n, Prime[n]}, {n, 60}] (* Harvey P. Dale, Oct 05 2023 *)
PROG
(Haskell)
a194187_list = zipWith (-) a000040_list a070883_list
CROSSREFS
Sequence in context: A075015 A205558 A082494 * A174375 A110663 A294317
KEYWORD
sign,look
AUTHOR
Reinhard Zumkeller, Oct 12 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 03:51 EDT 2024. Contains 371264 sequences. (Running on oeis4.)