OFFSET
0,1
COMMENTS
This sequence is obtained by permuting the indices of the prime numbers by the Gray code ordering of the integers.
LINKS
MathWorld, Gray Code
PROG
(PARI) a(n) = prime(1 + bitxor(n, n>>1)); \\ Michel Marcus, Apr 23 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Stephen Crowley, May 30 2007
STATUS
approved