Search a number
panconsummate n.  and  weak prime

First numbers that belong to both sets:

3, 7, 23, 31, 43, 61, 73, 89, 271, 337, 353, 523, 571, 661, 1093, 1291.