|
|
A337013
|
|
Prime numbers arising in A336817.
|
|
3
|
|
|
3, 7, 3, 5, 7, 3, 13, 2, 3, 2, 5, 2, 3, 2, 31, 2, 3, 2, 7, 2, 3, 2, 13, 2, 3, 2, 5, 2, 3, 2, 61, 2, 3, 2, 5, 2, 3, 2, 13, 2, 3, 2, 5, 2, 3, 2, 31, 2, 3, 2, 7, 2, 3, 2, 13, 2, 3, 2, 5, 2, 3, 2, 127, 2, 3, 2, 7, 2, 3, 2, 13, 2, 3, 2, 5, 2, 3, 2, 31, 2, 3, 2, 7
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
This sequence contains large runs of consecutive terms that are repeated later on.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = A336817(n) XOR A336817(n+1) (where XOR denotes the bitwise XOR operator).
|
|
EXAMPLE
|
|
|
PROG
|
(PARI) s=0; v=1; for (n=1, 83, s+=2^v; for (w=1, oo, if (!bittest(s, w) && isprime(p=bitxor(v, w)), print1 (p ", "); v=w; break)))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|