login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
a(7) = A336817(7) XOR A336817(8) = 7 XOR 10 = 13.
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
Sequence in context: A101636 A193534 A096247 * A362026 A122583 A001265
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Nov 21 2020
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 15:03 EDT 2024. Contains 371794 sequences. (Running on oeis4.)