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.

A276069 Zero terms of A276034.

Original entry on oeis.org

1, 2, 16, 26, 64, 97, 107, 122, 146, 167, 194, 391, 451, 496, 707, 856, 958
Offset: 1

Views

Author

Lei Zhou, Nov 15 2016

Keywords

Comments

It is conjectured that this sequence is finite and all terms are found.

Examples

			A276034(1)=0, so a(1)=1;
A276034(2)=0, so a(2)=2;
next,
A276034(16)=0, so a(3)=16.
		

Crossrefs

Cf. A276034.

Programs

  • Mathematica
    p = 3; sp = {p}; k = 0; Table[While[k++; m = 2*k; l = Length[sp]; While[sp[[l]] < m, While[p = NextPrime[p]; cp = 2*3^(Floor[Log[3, 2*p - 1]]) - p; ! PrimeQ[cp]]; AppendTo[sp, p]; l++]; ct = 0; Do[If[(2*sp[[i]] <= m) && (MemberQ[sp, m - sp[[i]]]), ct++], {i, 1, l}]; ct > 0]; k, {n, 1, 17}]