Definition of a Whale and a whale-like group and the Math Behind