OFFSET
1,1
COMMENTS
See A352723 for the corresponding prime numbers.
Terms of A102211 clearly do not occur in this sequence. Is this a permutation of the complement of A102211 in the positive integers? - Peter Munn, Sep 02 2022
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
EXAMPLE
The first terms, alongside the corresponding prime numbers, are:
n a(n) a(n) AND a(n+1)
-- ---- ---------------
1 2 2
2 3 2
3 6 2
4 10 2
5 7 5
6 5 5
7 13 13
8 15 11
9 11 2
10 18 2
PROG
(PARI) s=0; v=2; for (n=1, 65, print1 (v", "); s+=2^v; for (w=1, oo, if (!bittest(s, w) && isprime(bitand(v, w)), v=w; break)))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Mar 30 2022
STATUS
approved