Search a number
metadrome  and  pentagonal n.

First numbers that belong to both sets:

1, 5, 12, 35, 145, 247, 1247.