主题
Search

费马数


费马数的定义有两种。不太常见的一种是形如 of the form 2^n+1 的数,通过在 Fermat polynomial 费马多项式中设置 x=1 获得,其中前几个是 3, 5, 9, 17, 33, ... (OEIS A000051)。

更常见的费马数是一个特例,由形如 binomial number of the form F_n=2^(2^n)+1 的二项式数给出。对于 n=0, 1, 2, ...,前几个是 3, 5, 17, 257, 65537, 4294967297, ... (OEIS A000215)。费马数的 digits 位数是

D(n)=|_[log(2^(2^n)+1)]+1_|
(1)
 approx |_log(2^(2^n))+1_|
(2)
=1+|_2^nlog2_|.
(3)

对于 n=0, 1, ...,F_n 的位数因此是 1, 1, 2, 3, 5, 10, 20, 39, 78, 155, 309, 617, 1234, ... (OEIS A057755)。对于 n=0, 1, ...,F_(10^n) 的位数是 1, 309, 381600854690147056244358827361, ... (OEIS A114484)。

成为费马数是一个数成为 necessary 必要 (但不是 sufficient 充分) 的形式

 N_n=2^n+1
(4)

素数的必要(但非充分)条件。这可以通过注意到如果 N_n=2^n+1prime 素数,那么 n 不能有任何 odd 奇数因子 b,否则 N_n 将是形如 of the form N_n 的可分解数

 2^n+1=(2^a)^b+1=(2^a+1)[2^(a(b-1))-2^(a(b-2))+2^(a(b-3))-...+1].
(5)

因此,对于 prime 素数 N_nn 必须是 2 的 power 幂。任意两个费马数都没有大于 1 的公约数(Hardy 和 Wright 1979, p. 14)。

费马在 1650 年猜想每个费马数都是 prime 素数,而艾森斯坦在 1844 年提出了一个问题,即证明存在无限多个费马素数(Ribenboim 1996, p. 88)。然而,目前仅已知 composite 合数费马数 F_n,其中 n>=5。一位匿名作者提出形如 of the form 2^2+1, 2^(2^2)+1, 2^(2^(2^2))+1 的数是 prime 素数。然而,当 Selfridge (1953) 证明

 F_(16)=2^(2^(16))+1=2^(2^(2^(2^2)))+1
(6)

composite 合数时,这个猜想被驳斥(Ribenboim 1996, p. 88)。

唯一已知的 Fermat primes 费马素数是

F_0=3
(7)
F_1=5
(8)
F_2=17
(9)
F_3=257
(10)
F_4=65537
(11)

(OEIS A019434),并且似乎不太可能使用当前的计算方法和硬件找到更多。

由于费马数非常大,因此分解它们极其困难。事实上,截至 2022 年,只有 F_5F_(11) 已被完全分解。对于 n=0, 1, 2, ...,费马数 F_n 的因子数是 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 4, 5, ... (OEIS A046052)。显式写出,完全分解是

F_5=641·6700417
(12)
F_6=274177·67280421310721
(13)
F_7=59649589127497217·5704689200685129054721
(14)
F_8=1238926361552897·93461639715357977769163558199606896584051237541638188580280321
(15)
F_9=2424833·7455602825647884208337395736200454918783366342657·P99
(16)
F_(10)=45592577·6487031809·4659775785220018543264560743076778192897·P252
(17)
F_(11)=319489·974849·167988556341760475137·3560841906445833920513·P564
(18)

(OEIS A050922)。这里,最终的大 prime 素数没有明确给出,因为它可以通过将 F_n 除以其他给定的因子来计算。

费马数的最小因子是 5, 17, 257, 65537, 641, 274177, 59649589127497217, 1238926361552897, 2424833, ... (OEIS A093179),而最大因子是 5, 17, 257, 65537, 6700417, 67280421310721, 5704689200685129054721, (OEIS A070592)。

下表总结了这些完全分解的费马数的性质。其他已知费马数因子的表格由 Keller (1983), Brillhart et al. (1988), Young 和 Buell (1988), Riesel (1994), 以及 Pomerance (1996) 给出。Keller 维护着当前已知的费马数因子列表。在这些表格中,由于所有因子都形如 of the form k2^n+1,因此已知因子以简洁的形式 (k,n) 表示。

F_n位数因子位数参考文献
51023, 7Euler 1732
62026, 14Landry 1880
739217, 22Morrison and Brillhart 1975
878216, 62Brent and Pollard 1981
915537, 49, 99Manasse and Lenstra (In Cipra 1993)
1030948, 10, 40, 252Brent 1995
1161756, 6, 21, 22, 564Brent 1988

截至 2022 年,F_(12) 已知有 6 个因子,剩余 C1133 (其中 Cn 表示一个有 n 位的合数),F_(13) 已知有 4 个因子,剩余 C2391,F_(14) 已知有 1 个因子,剩余 C4880 (Keller)。

在 1980 年代初期,已知对于所有 5<=n<=32F_n 是合数,例外情况是 n=20, 22, 24, 28 和 31 (Riesel 1994, Crandall et al. 2003)。Young 和 Buell (1988) 发现 F_(20)composite 合数,Crandall et al. (1995) 发现 F_(22)composite 合数,Crandall et al. (2003) 发现 F_(24)composite 合数 (Crandall 1999; Borwein and Bailey 2003, pp. 7-8; Crandall et al. 2003)。1997 年,Taura 找到了 F_(28) 的一个小因子 (Crandall et al. 2003, Keller),并且也找到了 F_(31) 的一个小因子。截至 2022 年,已知对于所有 5<=n<=33F_n 是合数(参见 Crandall et al. 2003)。

目前有两个已知的费马数是合数,但尚未知晓它们的任何单个因子:F_(20)F_(24) (Keller; 参见 Crandall et al. 2003)。

Ribenboim (1996, pp. 89 和 359-360) 将 generalized Fermat numbers 广义费马数定义为形如 of the form a^(2^n)+1a>2 为偶数的数,而 Riesel (1994, pp. 102 和 415) 更广泛地将它们定义为形如 a^(2^n)+b^(2^n) 的数。

费马数满足 recurrence relation 递推关系

 F_m=F_0F_1...F_(m-1)+2.
(19)

可以证明 F_nprime 素数,当且仅当它满足 Pépin's test Pépin 检验。Pépin's theorem Pépin 定理

 3^(2^(2^n-1))=-1 (mod F_n)
(20)

也是 necessary 必要且 sufficient 充分的。

1770 年,欧拉证明了 F_n 的任何 factor 因子都必须具有以下形式

 2^(n+1)K+1,
(21)

其中 K 是一个 positive integer 正整数。1878 年,卢卡斯将 2 的指数增加了一个,表明费马数的 factors 因子必须是形如 of the form

 2^(n+2)L+1
(22)

对于 n>1。因此,费马数的因子是 Proth primes Proth 素数,因为它们是形如 k·2^n+1 的形式,只要它们也满足附加条件 k 为奇数且 2^n>k

如果

 F=p_1p_2...p_r
(23)

F_n=FC 的因子部分(其中 C 是要测试素性的余因子),计算

A=3^(F_n-1) (mod F_n)
(24)
B=3^(F-1) (mod F_n)
(25)
R=A-B (mod C).
(26)

那么如果 R=0,则余因子是基 3^Fprobable prime 可能素数;否则 Ccomposite 合数。

为了使一个 polygon 多边形能够外切于一个 circle 圆(即,一个 constructible polygon 可作图多边形),它必须具有边数 N,其形式为

 N=2^kF_0...F_n,
(27)

其中 k 是非负整数,F_i 是零个或多个不同的费马素数(如高斯所述,并由 Wantzel 1836 年首次发表)。这等价于以下陈述:三角函数 sin(kpi/N), cos(kpi/N) 等,可以用有限次数的加法、乘法和平方根运算来计算,iff 当且仅当 N 是上述形式时。

对于 d=1, 2, ...,{F_k,F_(k+1),...} 的最后 d 位数字(其中 k 是使得 F_k 具有 d 位的最小整数)最终是周期性的,周期分别为 1, 4, 20, 100, 500, 2500, ... (OEIS A005054; Koshy 2002-2003)。


另请参阅

Cullen Number, Fermat Polynomial, Fermat Prime, Generalized Fermat Number, Near-Square Prime, Pépin's Test, Pépin's Theorem, Pocklington's Theorem, Polygon, Proth Prime, Proth's Theorem, Selfridge-Hurwitz Residue, Woodall Number

使用 Wolfram|Alpha 探索

参考文献

Ball, W. W. R. and Coxeter, H. S. M. Mathematical Recreations and Essays, 13th ed. New York: Dover, pp. 68-69 and 94-95, 1987.Borwein, J. and Bailey, D. Mathematics by Experiment: Plausible Reasoning in the 21st Century. Wellesley, MA: A K Peters, 2003.Brent, R. P. "Factorization of the Eighth Fermat Number." Amer. Math. Soc. Abstracts 1, 565, 1980.Brent, R. P. "Factorisation of F10." http://cslab.anu.edu.au/~rpb/F10.html.Brent, R. P. "Factorization of the Tenth Fermat Number." Math. Comput. 68, 429-451, 1999.Brent, R. P. and Pollard, J. M. "Factorization of the Eighth Fermat Number." Math. Comput. 36, 627-630, 1981.Brillhart, J.; Lehmer, D. H.; Selfridge, J.; Wagstaff, S. S. Jr.; and Tuckerman, B. Factorizations of b-n+/-1, b=2, 3, 5, 6, 7, 10, 11, 12 Up to High Powers, rev. ed. Providence, RI: Amer. Math. Soc., pp. 1xxxvii and 2-3 of Update 2.2, 1988.Caldwell, C. K. "The Top Twenty: Fermat Divisors." http://www.utm.edu/research/primes/lists/top20/FermatDivisor.html.Cipra, B. "Big Number Breakdown." Science 248, 1608, 1990.Conway, J. H. and Guy, R. K. "Fermat's Numbers." In The Book of Numbers. New York: Springer-Verlag, pp. 137-141, 1996.Cormack, G. V. and Williams, H. C. "Some Very Large Primes of the Form k·2^m+1." Math. Comput. 35, 1419-1421, 1980.Courant, R. and Robbins, H. What Is Mathematics?: An Elementary Approach to Ideas and Methods, 2nd ed. Oxford, England: Oxford University Press, pp. 25-26 and 119, 1996.Crandall, R. "F24 Resolved--Official Announcement." 29 Sep 1999. http://listserv.nodak.edu/scripts/wa.exe?A2=ind9909&L=nmbrthry&P=2905.Crandall, R.; Doenias, J.; Norrie, C.; and Young, J. "The Twenty-Second Fermat Number is Composite." Math. Comput. 64, 863-868, 1995.Crandall, R. E.; Mayer, E. W.; and Papadopoulos, J. S. "The Twenty-Fourth Fermat Number is Composite." Math. Comput. 72, 1555-1572, 2003.Dickson, L. E. "Fermat Numbers F_n=2^(2^n)+1." Ch. 15 in History of the Theory of Numbers, Vol. 1: Divisibility and Primality. New York: Dover, pp. 375-380, 2005.Dixon, R. Mathographics. New York: Dover, p. 53, 1991.Euler, L. "Observationes de theoremate quodam Fermatiano aliisque ad numeros primos spectantibus." Acad. Sci. Petropol. 6, 103-107, ad annos 1732-33 (1738). Reprinted in Opera Omnia, Series Prima, Vol. 2. Leipzig: Teubner, pp. 1-5, 1915. Translation by J. Bell available at http://www.arxiv.org/abs/math.HO/0501118/.Gardner, M. "Patterns in Primes are a Clue to the Strong Law of Small Numbers." Sci. Amer. 243, 18-28, Dec. 1980.Gostin, G. B. "A Factor of F_(17)." Math. Comput. 35, 975-976, 1980.Gostin, G. B. "New Factors of Fermat Numbers." Math. Comput. 64, 393-395, 1995.Gostin, G. B. and McLaughlin, P. B. Jr. "Six New Factors of Fermat Numbers." Math. Comput. 38, 645-649, 1982.Guy, R. K. "Mersenne Primes. Repunits. Fermat Numbers. Primes of Shape k·2^n+2." §A3 in Unsolved Problems in Number Theory, 2nd ed. New York: Springer-Verlag, pp. 8-13, 1994.Hallyburton, J. C. Jr. and Brillhart, J. "Two New Factors of Fermat Numbers." Math. Comput. 29, 109-112, 1975.Hardy, G. H. and Wright, E. M. An Introduction to the Theory of Numbers, 5th ed. Oxford, England: Clarendon Press, pp. 14-15 and 19, 1979.Hoffman, P. The Man Who Loved Only Numbers: The Story of Paul Erdős and the Search for Mathematical Truth. New York: Hyperion, p. 200, 1998.Keller, W. "Factor of Fermat Numbers and Large Primes of the Form k·2^n+1." Math. Comput. 41, 661-673, 1983.Keller, W. "Factors of Fermat Numbers and Large Primes of the Form k·2^n+1, II." In prep.Keller, W. "Prime Factors k·2^n+1 of Fermat Numbers F_m and Complete Factoring Status." http://www.prothsearch.net/fermat.html.Koshy, T. "The Ends of a Fermat Number." J. Recr. Math. 31, 183-184, 2002-2003.Kraitchik, M. "Fermat Numbers." §3.6 in Mathematical Recreations. New York: W. W. Norton, pp. 73-75, 1942.Krížek, M.; Luca, F.; and Somer, L. 17 Lectures on Fermat Numbers: From Number Theory to Geometry. New York: Springer-Verlag, 2001.Krížek, M. and Somer, L. "A Necessary and Sufficient Condition for the Primality of Fermat Numbers." Math. Bohem. 126, 541-549, 2001.Landry, F. "Note sur la décomposition du nombre 2^(64)+1 (Extrait)." Comptes Rendus Acad. Sci. Paris, 91, 138, 1880.Lenstra, A. K.; Lenstra, H. W. Jr.; Manasse, M. S.; and Pollard, J. M. "The Factorization of the Ninth Fermat Number." Math. Comput. 61, 319-349, 1993.Morrison, M. A. and Brillhart, J. "A Method of Factoring and the Factorization of F_7." Math. Comput. 29, 183-205, 1975.Pólya, G. and Szegö, G. Problem 94, Part 8 in Problems and Theorems in Analysis. Berlin: Springer-Verlag, 1976.Pomerance, C. "A Tale of Two Sieves." Not. Amer. Math. Soc. 43, 1473-1485, 1996.Ribenboim, P. "Fermat Numbers" and "Numbers k×2^n+/-1." §2.6 and 5.7 in The New Book of Prime Number Records. New York: Springer-Verlag, pp. 83-90 and 355-360, 1996.Riesel, H. Prime Numbers and Computer Methods for Factorization, 2nd ed. Basel: Birkhäuser, pp. 384-388, 1994.Robinson, R. M. "Mersenne and Fermat Numbers." Proc. Amer. Math. Soc. 5, 842-846, 1954.Robinson, R. M. "A Report on Primes of the Form k·2^n+1 and on Factors of Fermat Numbers." Proc. Amer. Math. Soc. 9, 673-681, 1958.Selfridge, J. L. "Factors of Fermat Numbers." Math. Comput. 7, 274-275, 1953.Shanks, D. Solved and Unsolved Problems in Number Theory, 4th ed. New York: Chelsea, pp. 13 and 78-80, 1993.Shorey, T. N. and Stewart, C. L. "On Divisors of Fermat, Fibonacci, Lucas and Lehmer Numbers, 2." J. London Math. Soc. 23, 17-23, 1981.Stewart, C. L. "On Divisors of Fermat, Fibonacci, Lucas and Lehmer Numbers." Proc. London Math. Soc. 35, 425-447, 1977.Sloane, N. J. A. Sequences A000051/M0717, A000215/M2503, A005054, A019434, A046052, A057755, A050922, A070592, A093179, and A114484 in "The On-Line Encyclopedia of Integer Sequences."Trevisan, V. and Carvalho, J. B. "The Composite Character of the Twenty-Second Fermat Number." J. Supercomputing 9, 179-182, 1995.Wantzel, M. L. "Recherches sur les moyens de reconnaître si un problème de géométrie peut se résoudre avec la règle et le compas." J. Math. pures appliq. 1, 366-372, 1836.Wrathall, C. P. "New Factors of Fermat Numbers." Math. Comput. 18, 324-325, 1964.Young, J. and Buell, D. A. "The Twentieth Fermat Number is Composite." Math. Comput. 50, 261-263, 1988.

在 Wolfram|Alpha 中被引用

费马数

请引用为

韦斯坦, 埃里克·W. "Fermat Number." 来自 MathWorld——Wolfram Web 资源。 https://mathworld.net.cn/FermatNumber.html

主题分类