Multiply the positive integers by 3 (mod 10) to get the repeating sequence . This Demonstration connects the starting values to the ending values for a chosen modulus and multiplier .

With multipliers of 2, 3, and 6, cusped epicycloids develop—the cardioid, nephroid, and ranunculoid. Other patterns develop with other moduli and multipliers.