The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A293983 a(n) = least k > 0 such that prime(k) XOR prime(k+1) XOR ... XOR prime(A293927(n)) = 0 (where XOR denotes the binary XOR operator, and prime(n) = A000040(n)). 2
 8, 19, 15, 26, 33, 30, 26, 38, 22, 49, 47, 45, 58, 63, 69, 63, 65, 65, 71, 69, 69, 92, 92, 88, 123, 86, 123, 80, 132, 140, 80, 70, 153, 161, 56, 155, 176, 182, 145, 195, 143, 185, 133, 202, 125, 123, 216, 225, 235, 121, 237, 246, 235, 219, 227, 105, 260, 254 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS If a(n) = 1, then A126084(A293927(n)) = 0. For any n > 0, A293927(n) - a(n) + 1 >= 4 (we need to XOR at least 4 consecutive prime numbers in order to obtain 0). For any n > 0, if a(n) > 1 then A293927(n) - a(n) + 1 is even (we need to XOR an even number of odd prime numbers in order to obtain 0). LINKS Rémy Sigrist, Table of n, a(n) for n = 1..10000 PROG (PARI) prev = vector(1774); s = 0; pi = 0; n = 0; forprime (p=1, 1697, pi++; s = bitxor(s, p); if (s==0 || prev[s], n++; print1 (prev[s]+1 ", "), prev[s] = pi)); CROSSREFS Cf. A000040, A126084, A293927. Sequence in context: A283264 A294588 A259169 * A227881 A294581 A290185 Adjacent sequences:  A293980 A293981 A293982 * A293984 A293985 A293986 KEYWORD nonn,base AUTHOR Rémy Sigrist, Oct 21 2017 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified April 5 10:33 EDT 2020. Contains 333239 sequences. (Running on oeis4.)