List of triples (prime(n+2), p, q) ( or (prime(n+2), A178548(n), A178561(n)) ) for n=0..100: 
(5, 13, 31)
(7, 2, 11)
(11, 151, 313)
(13, 5, 23)
(17, 73, 163)
(19, 17, 53)
(23, 67, 157)
(29, 7, 43)
(31, 5, 41)
(37, 17, 71)
(41, 31, 103)
(43, 47, 137)
(47, 7, 61)
(53, 37, 127)
(59, 67, 193)
(61, 83, 227)
(67, 23, 113)
(71, 19, 109)
(73, 17, 107)
(79, 11, 101)
(83, 97, 277)
(89, 19, 127)
(97, 2, 101)
(101, 61, 223)
(103, 5, 113)
(107, 37, 181)
(109, 71, 251)
(113, 229, 571)
(127, 53, 233)
(131, 139, 409)
(137, 7, 151)
(139, 59, 257)
(149, 31, 211)
(151, 83, 317)
(157, 167, 491)
(163, 197, 557)
(167, 283, 733)
(173, 97, 367)
(179, 127, 433)
(181, 89, 359)
(191, 61, 313)
(193, 149, 491)
(197, 37, 271)
(199, 17, 233)
(211, 149, 509)
(223, 29, 281)
(227, 7, 241)
(229, 41, 311)
(233, 19, 271)
(239, 67, 373)
(241, 461, 1163)
(251, 181, 613)
(257, 157, 571)
(263, 97, 457)
(269, 19, 307)
(271, 89, 449)
(277, 83, 443)
(281, 79, 439)
(283, 167, 617)
(293, 139, 571)
(307, 107, 521)
(311, 409, 1129)
(313, 353, 1019)
(317, 7, 331)
(331, 443, 1217)
(337, 491, 1319)
(347, 157, 661)
(349, 47, 443)
(353, 97, 547)
(359, 37, 433)
(367, 47, 461)
(373, 59, 491)
(379, 71, 521)
(383, 139, 661)
(389, 79, 547)
(397, 17, 431)
(401, 463, 1327)
(409, 167, 743)
(419, 157, 733)
(421, 443, 1307)
(431, 199, 829)
(433, 197, 827)
(439, 191, 821)
(443, 709, 1861)
(449, 37, 523)
(457, 227, 911)
(461, 79, 619)
(463, 149, 761)
(467, 37, 541)
(479, 61, 601)
(487, 17, 521)
(491, 373, 1237)
(499, 59, 617)
(503, 19, 541)
(509, 67, 643)
(521, 199, 919)
(523, 179, 881)
(541, 89, 719)
(547, 47, 641)
(557, 37, 631)