Pergunta de entrevista da empresa Five Rings

Find the next term in the sequence