OFFSET
3,1
COMMENTS
This sequence has the same structure as A354805, which could be considered as sort of its characteristic function.
LINKS
Eric Weisstein's World of Mathematics, Goldbach Partition
Wikipedia, Goldbach's conjecture
EXAMPLE
Triangle begins:
3;
0, 5;
5, 0, 7;
0, 7, 0, 0;
7, 0, 0, 0,11;
0, 0, 0,11, 0,13;
0, 0,11, 0,13, 0, 0;
0, 0, 0,13, 0, 0, 0,17;
11, 0, 0, 0, 0, 0,17, 0,19;
...
Example: for n=11, row {11,0,0,0,0,0,17,0,19}, when stripped of its zeros and subtracted from 2n=22, gives the partitions {{11,11},{17,5},{19,3}}.
MATHEMATICA
nmin = 3; nmax = 16;
T[n_ /; n >= nmin, k_ /; k >= 0] := If[PrimeQ[n-k] && PrimeQ[n+k], n+k, 0];
Table[T[n, k], {n, nmin, nmax}, {k, 0, n - nmin}] // Flatten
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Jean-François Alcover, Jun 12 2022
STATUS
approved