Pergunta de entrevista da empresa Meta

putting the largest prime factorization in a given pattern