#P2626. 斐波那契数列(升级版)

    ID: 1539 远端评测题 1000ms 128MiB 尝试: 0 已通过: 0 难度: 3 上传者: 标签>模拟递推素数判断,质数,筛法

斐波那契数列(升级版)

Description

Please compute the nn-th Fibonacci number, take it mod231\bmod\,2^{31}, and factor the result into prime factors.

Input Format

Input a positive integer nn.

Output Format

Output the prime factorization of the nn-th Fibonacci number after applying mod231\bmod\,2^{31}.

5
5=5
6
8=2*2*2

Hint

n48n \le 48.

Translated by ChatGPT 5