login
Primes arising in A308334.
4

%I #9 May 23 2019 14:32:16

%S 3,3,7,5,7,7,23,29,13,11,11,11,31,29,29,31,31,31,31,23,23,29,31,31,31,

%T 29,29,31,31,59,37,37,37,41,43,43,43,43,47,47,47,47,47,47,61,53,53,53,

%U 59,59,59,59,59,61,61,127,127,127,127,127,71,127,127,71,79

%N Primes arising in A308334.

%H Rémy Sigrist, <a href="/A308340/b308340.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = A308334(n) OR A308334(n+1) (where OR denotes the binary OR operator).

%o (PARI) s=0; v=1; for (n=1, 65, s+=2^v; for (w=1, oo, if (!bittest(s,w) && isprime(o=bitor(v,w)), print1 (o ", "); v=w; break)))

%Y Cf. A308334.

%K nonn,base

%O 1,1

%A _Rémy Sigrist_, May 20 2019