Tripeptides are built from glycine, alanine and valine, and any amino acid may be used more than once in a tripeptide. The number of different tripeptide sequences that contain at least one glycine unit (a whole number) is
Answer: 19 Status: Verified (T3). Checked by code and independent solves on 2026-11-20.
Solution
- All tripeptides with repetition allowed: 3 x 3 x 3 = 27.
- Those with no glycine use only alanine and valine: 2 x 2 x 2 = 8.
- At least one glycine: 27 - 8 = 19.
Fast method
Complement counting: 3³ - 2³.
Expected time: about 90 seconds. Difficulty: hard.
Topic page: Amino acids, proteins, enzymes and vitamins