OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Goldbach Partition.
Wikipedia, Goldbach's conjecture.
EXAMPLE
8 is in the sequence since it has a Goldbach partition, (5,3) such that 8 | (3*5 + 1) = 16;
12 is in the sequence since it has a Goldbach partition, (7,5) such that 12 | (5*7 + 1) = 36;
42 is in the sequence since it has a Goldbach partition, (13,29) such that 42 | (13*29 + 1) = 378 = 9*42; etc.
MATHEMATICA
fQ[n_] := Block[{p = 3, q}, While[q = n - p; m = Mod[p*q, n] + 1; p < q && ! PrimeQ@q || m != n, p = NextPrime@p]; p < q]; Select[2 Range@200, fQ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt and Robert G. Wilson v, Jul 26 2020
STATUS
approved