OFFSET
1,1
COMMENTS
All terms are prime.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
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
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jan 19 2023
STATUS
approved