Pregunta de entrevista de Intel Corporation

Decimal to N-Base (python), Prime numbers, Cut the hive problem