OFFSET
1,1
COMMENTS
LINKS
Eric Weisstein's World of Mathematics, Goldbach Partition.
Wikipedia, Goldbach's conjecture.
EXAMPLE
5 is in the sequence since it has a Goldbach partition, (3,2) such that 5 | (3*2 - 1) = 5;
10 is in the sequence since it has a Goldbach partition, (3,7) such that 10 | (3*7 - 1) = 20;
50 is in the sequence since it has a Goldbach partition, (7,43) such that 50 | (7*43 - 1) = 300;
58 is in the sequence since it has a Goldbach partition, (17,41) such that 58 | (17*41 - 1) = 696 = 58*12; etc.
MATHEMATICA
fQ[n_] := Block[{p = 3}, While[ 2p +1 < n, q = n - p; If[ PrimeQ[q] && Mod[p*q, n] == 1, Goto[fini]]; p = NextPrime@ p]; Label[fini]; 2p +1 < n]; Select[Range@ 300, fQ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt and Robert G. Wilson v, Jul 26 2020
STATUS
approved