Can four cards form a pure rummy sequence?
Sort the cards by suit, then look for consecutive ranks without a substitute.

Four card pure sequence rummy
Sort the cards by suit, then look for consecutive ranks without a substitute. A natural sequence can continue beyond three cards. Consult the particular game rules for declaration requirements.
In practice
Five, six, seven and eight of diamonds make an uninterrupted same-suit sequence. Swap the seven for a club and that four-card sequence breaks.
