[Quilt 001] shell mathematics