Se consideră algoritmul f(n, x), unde n și x sunt numere naturale (1 ≤ n ≤ 105, 2 ≤ x ≤ 10):
Algorithm f(n, x):
If n > 0 then
f(n DIV x, x)
Write n MOD x
EndIf
EndAlgorithmCare din următoarele afirmații sunt adevărate?
Alegeți toate variantele corecte.