cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A308340 Primes arising in A308334.

This page as a plain text file.
%I A308340 #9 May 23 2019 14:32:16
%S A308340 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 A308340 29,29,31,31,59,37,37,37,41,43,43,43,43,47,47,47,47,47,47,61,53,53,53,
%U A308340 59,59,59,59,59,61,61,127,127,127,127,127,71,127,127,71,79
%N A308340 Primes arising in A308334.
%H A308340 Rémy Sigrist, <a href="/A308340/b308340.txt">Table of n, a(n) for n = 1..10000</a>
%F A308340 a(n) = A308334(n) OR A308334(n+1) (where OR denotes the binary OR operator).
%o A308340 (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 A308340 Cf. A308334.
%K A308340 nonn,base
%O A308340 1,1
%A A308340 _Rémy Sigrist_, May 20 2019