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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A337013 Prime numbers arising in A336817. 2
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

Rémy Sigrist, Table of n, a(n) for n = 1..10000

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

Cf. A308340, A336817.

Sequence in context: A101636 A193534 A096247 * A122583 A001265 A060443

Adjacent sequences:  A337010 A337011 A337012 * A337014 A337015 A337016

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 5 06:37 EDT 2021. Contains 346458 sequences. (Running on oeis4.)