Search a number
alternating n.  and  decagonal n.

First numbers that belong to both sets: