Given integers x and n, we are asked to evaluate the following function: . That is, P equals x raised to the power of the n-th Fibonacci number. We define as follows: and for .
Example: .
Please reduce the output, modulo .
------------------------
HINT: One solution is already shown, however java math is not allowed.

Solution Stats

7 Solutions

3 Solvers

Last Solution submitted on Mar 02, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...