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!)
A359947 a(n) = n XOR A359946(n) (where XOR denotes the bitwise XOR operator). 2
3, 3, 7, 7, 3, 3, 13, 3, 5, 13, 3, 5, 3, 3, 31, 31, 3, 3, 7, 7, 3, 3, 13, 3, 5, 13, 3, 5, 3, 3, 61, 3, 5, 61, 3, 5, 3, 3, 13, 3, 5, 13, 3, 5, 3, 3, 31, 31, 3, 3, 7, 7, 3, 3, 13, 3, 5, 13, 3, 5, 3, 3, 127, 127, 3, 3, 7, 7, 3, 3, 13, 3, 5, 13, 3, 5, 3, 3, 31, 31 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
All terms are prime.
LINKS
EXAMPLE
a(42) = 42 XOR A359946(42) = 42 XOR 39 = 13.
PROG
(PARI) { s = 0; for (n = 1, 80, for (v = 1, oo, if (!bittest(s, v) && isprime(p = bitxor(n, v)), print1 (p", "); s += 2^v; break))) }
CROSSREFS
Cf. A359946.
Sequence in context: A000199 A243099 A324877 * A201932 A161771 A160515
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jan 19 2023
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 June 30 09:46 EDT 2024. Contains 373866 sequences. (Running on oeis4.)