A sequence starts with 1 and 2, and each subsequent term is the sum of the digits of the product of the previous two terms. As a result, the third term is 2, the fourth is 4, and the fifth is 8.
Write a function to compute the nth term of the sequence.

Solution Stats

43 Solutions

25 Solvers

Last Solution submitted on Jul 13, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...