iFocus Systec interview question

GCD, LCM, Prime number, Digit Sum, String manipulation