OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Goldbach Partition.
Wikipedia, Goldbach's conjecture.
EXAMPLE
20 is in the sequence since it has a Goldbach partition, namely (3,17), such that 20/2 = 10 | 3*17-1 = 50.
PROG
(PARI) isok(k) = if (!(k%2), my(q); forprime(p=2, k, if (isprime(q=k-p), if (!((p*q-1) % (k/2)) || !((p*q+1) % (k/2)), return(1))))); \\ Michel Marcus, Mar 07 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Mar 06 2022
STATUS
approved