Help me in solving this

You are given three integers a, b, and n. Your task is to determine the number of positive integers x€ [1, 10^9] such that a*(x^x) is an n-digit number of base b.

1 < b < 11

can you give any example case?

Is this from some ongoing contest ? If not then give us the link.

it’s from past hackerearths contest.

1 Like

Thanks !!!