752. Powers of 1+7

When (1+7) is raised to an integral power, n, we always get a number of the form (a+b7).
We write (1+7)n=α(n)+β(n)7.

For a given number x we define g(x) to be the smallest positive integer n such that:

α(n)1(modx)and β(n)0(modx)

and g(x)=0 if there is no such value of n. For example, g(3)=0, g(5)=12.

Further define

G(N)=x=2Ng(x)

You are given G(102)=28891 and G(103)=13131583.

Find G(106).

752. 1+7 的幂

对任意正整数 n(1+7)n 次幂一定形如 (a+b7)
我们记 (1+7)n=α(n)+β(n)7(其中 α(n),β(n) 是整数)。

给定 x,我们定义 g(x) 为满足如下条件的最小正整数 n

α(n)1(modx)and β(n)0(modx)

若没有满足条件的正整数,则置 g(x)=0。例如有 g(3)=0g(5)=12

进一步定义:

G(N)=x=2Ng(x)

已知 G(102)=28891G(103)=13131583

G(106)


这个链接 回到源站。

这个链接 回到详细版题目目录。