#Lutece2405. Fou ki ra
Fou ki ra
Migrated from Lutece 2405 Fou ki ra
All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.
Description
这个屑出题人暂时不想写小说了,所以就直接读题吧(
令 , 为斐波那契数列第 项; 同时,令 表示一个序列,$A_i = \{B_{i,1},B_{i,3},B_{i,5},\ldots ,B_{i,2i-1}\}$。
设序列
$${F_{A_i}=\{F_{B_{i,1}},F_{B_{i,3}},F_{B_{i,5}},\ldots ,F_{B_{i,2i-1}}\}}\\ {\gcd(F_{A_i})=\gcd(F_{B_{i,1}},F_{B_{i,3}},F_{B_{i,5}},\ldots ,F_{B_{i,2i-1}})} $$求 。
Input
第一行一个整数 ,表示一共有 组数据。
接下来 行,每一行一个整数 。
Output
输出 行,每一行为一组数据的答案。
Samples
3
2
3
4
4
5
26
Constraints
Resources
2020 UESTC ICPC Training for Math and Geometry