login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A297879
a(n) = A297706(n) XOR A297706(n+1) XOR A297706(n+2) (where XOR denotes the bitwise XOR operator).
2
7, 5, 2, 13, 7, 5, 2, 13, 2, 3, 11, 19, 17, 13, 23, 11, 13, 17, 19, 31, 19, 23, 19, 23, 31, 37, 31, 29, 19, 23, 31, 29, 31, 17, 23, 5, 7, 2, 19, 43, 37, 47, 41, 61, 59, 47, 41, 43, 37, 41, 61, 53, 79, 73, 59, 53, 73, 71, 67, 83, 79, 73, 67, 83, 79, 73, 109, 2
OFFSET
1,1
COMMENTS
All terms are prime.
LINKS
Rémy Sigrist, Scatterplot of the first 25000 terms (with terms such that a(n) = 2 highlighted)
EXAMPLE
a(7) = A297706(7) XOR A297706(8) XOR A297706(9) = 9 XOR 7 XOR 12 = 2.
CROSSREFS
Cf. A297706.
Sequence in context: A307160 A369106 A087273 * A245510 A199794 A106040
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jan 07 2018
STATUS
approved