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!)
A276522 Zero terms of A276520. 0
1, 2, 3, 4, 5, 7, 32, 52, 55, 61, 128, 194, 214, 244, 292, 334, 388, 782, 902, 992, 1414, 1571, 1712, 1916, 2551 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

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

LINKS

Table of n, a(n) for n=1..25.

EXAMPLE

A276520(1,2,3,4,5)=0, so a(1)=1, a(2)=2, a(3)=3, a(4)=4, and a(5)=5.

The next zero: A276520(7)=0, so a(6)=7.

MATHEMATICA

p = 3; sp = {p}; m = 0; Table[While[m++; 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++]; c = 2 - Mod[m + 1, 2]; ct = 0; Do[If[MemberQ[sp, m - c*sp[[i]]], If[c == 1, If[(2*sp[[i]]) <= m, ct++], ct++]], {i, 1, l}]; ct != 0]; m, {n, 1, 25}]

CROSSREFS

Cf. A276520.

Sequence in context: A063738 A063737 A278342 * A135709 A263043 A028980

Adjacent sequences:  A276519 A276520 A276521 * A276523 A276524 A276525

KEYWORD

nonn,easy,fini,full

AUTHOR

Lei Zhou, Nov 15 2016

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 July 12 10:20 EDT 2020. Contains 335657 sequences. (Running on oeis4.)