Kellner, Bernd C.; Sondow, Jonathan On Carmichael and polygonal numbers, Bernoulli polynomials, and sums of base-\(p\) digits. (English) Zbl 1479.11028 Integers 21, Paper A52, 21 p. (2021). A Carmichael number is a composite number \(m\) such that the congruence \(a^m\equiv 1 \pmod{m}\) holds for all integers \(a\) coprime to \(m\). This congruence holds for all prime \(m\) by Fermat’s little theorem. This paper complements two different characterizations of Carmichael numbers, due to Korselt and Carmichael. It draws new and interesting connections between Carmichael numbers and the function \(s_p(m)\), where \(s_p(m)\) denotes the sum of the digits of \(m\) expressed in base \(p\).This paper defines {primary Carmichael numbers}, a subset of the Carmichael numbers given by those squarefree \(m\) such that \(s_p(m)= p\) for all prime divisors of \(m\). It also defines a subset of the integers containing the Carmichael numbers, given by those squarefree \(m\) such that \(s_p(m)\geq p\) for all prime divisors of \(m\).This paper then offers a new characterization of the Carmichael numbers in terms of the sum of digits function, as squarefree \(m\) satisfying \[\{m: p|m \text{ implies } s_p(m)\geq p,\quad s_p(m) \equiv 1 \pmod{p-1}\},\] complementing the characterizations of Korselt and Carmichael. It then proves some results expressing the denominators of the Bernoulli polynomials in terms of \(s_p(m)\). It also provides another explicit characterization of the Carmichael numbers in terms of polygonal numbers and \(s_p(m)\). The proofs follow from from clever elementary number theoretic considerations. Reviewer: Tanay V. Wakhare (Cambridge) Cited in 1 ReviewCited in 4 Documents MSC: 11A51 Factorization; primality 11B68 Bernoulli and Euler numbers and polynomials 11A63 Radix representation; digital problems Keywords:Carmichael numbers; Bernoulli numbers and polynomials; Knödel numbers; polygonal numbers; denominator; sum of base-\(p\) digits; \(p\)-adic valuation PDFBibTeX XMLCite \textit{B. C. Kellner} and \textit{J. Sondow}, Integers 21, Paper A52, 21 p. (2021; Zbl 1479.11028) Full Text: arXiv Link Online Encyclopedia of Integer Sequences: Carmichael numbers: composite numbers k such that a^(k-1) == 1 (mod k) for every a coprime to k. Carmichael numbers of the form (6*k+1)*(12*k+1)*(18*k+1), where 6*k+1, 12*k+1 and 18*k+1 are all primes. a(n) is the smallest positive integer such that a(n)*(1^n + 2^n + ... + x^n) is a polynomial in x with integer coefficients. 3-Carmichael numbers: Carmichael numbers equal to the product of 3 primes: k = p*q*r, where p < q < r are primes such that a^(k-1) == 1 (mod k) if a is prime to k. Positive integers k such that the derivative of the k-th Bernoulli polynomial B(k,x) contains only integer coefficients. Least number k such that all coefficients of k*B(n,x), the n-th Bernoulli polynomial, are integers. a(n) = denominator(Bernoulli_{n+1}(x) - Bernoulli_{n+1}). Least primary Carmichael number (A324316) with n prime factors, or -1 if no such number exists. a(n) = (denominator of B(n,x)) / (the squarefree kernel of n+1), where B(n,x) is the n-th Bernoulli polynomial. Squarefree integers m > 1 such that if prime p divides m, then the sum of the base p digits of m is at least p. Primary Carmichael numbers. Number of primary Carmichael numbers (A324316) less than 10^n. Number of terms in A324315 (squarefree integers m > 1 such that if prime p divides m, then the sum of the base p digits of m is at least p) less than 10^n. Terms of A324315 (squarefree integers m > 1 such that if prime p divides m, then the sum of the base p digits of m is at least p) that are also hexagonal numbers (A000384) with index equal to their largest prime factor. Terms of A324315 (squarefree integers m > 1 such that if prime p divides m, then the sum of the base p digits of m is at least p) that are also octagonal numbers (A000567) with index equal to their largest prime factor. Product of all primes p dividing n such that the sum of the base p digits of n is at least p, or 1 if no such prime. Product of all primes p not dividing n such that the sum of the base-p digits of n is at least p, or 1 if no such prime exists. Product of all primes p dividing n such that the sum of the base p digits of n is less than p, or 1 if no such prime. Squarefree integers m > 1 such that if prime p divides m, then s_p(m) >= p and s_p(m) == 2 (mod p-1), where s_p(m) is the sum of the base p digits of m. Squarefree integers m > 1 such that if prime p divides m, then s_p(m) >= p and s_p(m) == 3 (mod p-1), where s_p(m) is the sum of the base p digits of m. Numbers m > 1 such that there exists a divisor g > 1 of m which satisfies s_g(m) = g. Numbers m > 1 such that every prime divisor p of m satisfies s_p(m) >= p. Numbers m > 1 such that every prime divisor p of m satisfies s_p(m) = p. Squarefree polygonal numbers P(s,n) with s >= 3 and n >= 3. Special polygonal numbers. Rank of the n-th special polygonal number A324973(n). Rank of the n-th Carmichael number. Rank of the n-th primary Carmichael number. Denominator(Bernoulli_{m-1}) / m, where m is the n-th Carmichael number. a(n) = n*denominator(n*Bernoulli(n-1)) for n >= 1 and a(0) = 0. a(n) = denominator(b_n(x)), where b_n(x) are the polynomials defined in A335947. Denominator of the second derivative of the n-th Bernoulli polynomial B(n,x). Positive integers k such that the second derivative of the k-th Bernoulli polynomial B(k,x) contains only integer coefficients. Positive integers k such that the third derivative of the k-th Bernoulli polynomial B(k, x) contains only integer coefficients. Positive integers k such that the fourth derivative of the k-th Bernoulli polynomial B(k, x) contains only integer coefficients. Positive integers k such that the fifth derivative of the k-th Bernoulli polynomial B(k, x) contains only integer coefficients. References: [1] W. R. Alford, A. Granville, and C. Pomerance, There are infinitely many Carmichael numbers, Ann. of Math. 139 (1994), 703-722. · Zbl 0816.11005 [2] A. H. Beiler, Recreations in the Theory of Numbers, Dover, New York, 1966. · Zbl 0154.04001 [3] R. D. Carmichael, Note on a new number theory function, Bull. Amer. Math. Soc. 16 (1910), 232-238. · JFM 41.0226.04 [4] R. D. Carmichael, On composite numbers P which satisfy the Fermat congruence a P −1 ≡ 1 (mod P ), Amer. Math. Monthly 19 (1912), 22-27. · JFM 42.0236.07 [5] T. Clausen, Lehrsatz aus einer Abhandlungüber die Bernoullischen Zahlen, Astr. Nachr. 17 (1840), 351-352. [6] K. Conrad, Carmichael numbers and Korselt’s criterion, expository paper (2016), 1-3. Avail-able at http://www.math.uconn.edu/ kconrad/blurbs/ugradnumthy/carmichaelkorselt. pdf. [7] J. H. Conway and R. K. Guy, The Book of Numbers, Springer-Verlag, New York, 1996. · Zbl 0866.00001 [8] R. Crandall and C. B. Pomerance, Prime Numbers: A Computational Perspective, 2nd ed., Springer, New York, 2005. · Zbl 1088.11001 [9] P. Erdős, On pseudoprimes and Carmichael numbers, Publ. Math. Debrecen 4 (1956), 201-206. · Zbl 0074.27105 [10] A. Granville and C. Pomerance, Two contradictory conjectures concerning Carmichael num-bers, Math. Comp. 71 (2002), 883-908. · Zbl 0991.11067 [11] R. K. Guy, Unsolved Problems in Number Theory, 3rd ed., Springer, New York, 2004. · Zbl 1058.11001 [12] G. H. Hardy, Ramanujan, Cambridge Univ. Press, New York, 1940. · JFM 67.0002.09 [13] G. Harman, Watt’s mean value theorem and Carmichael numbers, Int. J. Number Theory 4 (2008), 241-248. · Zbl 1221.11194 [14] D. R. Heath-Brown, Carmichael numbers with three prime factors, Hardy-Ramanujan J. 30 (2007), 6-12. · Zbl 1151.11047 [15] B. C. Kellner, On a product of certain primes, J. Number Theory 179 (2017), 126-141. · Zbl 1418.11045 [16] B. C. Kellner and J. Sondow, Power-sum denominators, Amer. Math. Monthly 124 (2017), 695-709. · Zbl 1391.11052 [17] B. C. Kellner and J. Sondow, The denominators of power sums of arithmetic progressions, Integers 18 (2018), #A95, 1-17. · Zbl 1423.11029 [18] W. Knödel, Carmichaelsche Zahlen, Math. Nachr. 9 (1953), 343-350. · Zbl 0051.03102 [19] W. Knödel, Eine obere Schranke für die Anzahl der Carmichaelschen Zahlen kleiner als x, Arch. Math. 4 (1953), 282-284. · Zbl 0051.03103 [20] A. Korselt, Problème chinois, L’Intermédiaire Math. 6 (1899), 142-143. [21] A. Makowski, Generalization of Morrow’s D numbers, Simon Stevin 36 (1962), 71. · Zbl 0109.27102 [22] R. G. E. Pinch, The Carmichael numbers up to 10 21 , Proceedings of Conference on Algo-rithmic Number Theory 2007, A. Ernvall-Hytönen et al., eds., TUCS General Publication 46, Turku Centre for Computer Science, 2007, 129-131. [23] C. Pomerance, J. L. Selfridge, and S. Wagstaff, The pseudoprimes to 25 • 10 9 , Math. Comp. 35 (1980), 1003-1026. · Zbl 0444.10007 [24] P. Ribenboim, The New Book of Prime Number Records, Springer, New York, 2012. · Zbl 0642.10002 [25] A. M. Robert, A Course in p-adic Analysis, GTM 198, Springer-Verlag, New York, 2000. · Zbl 0947.11035 [26] K. G. C. von Staudt, Beweis eines Lehrsatzes die Bernoullischen Zahlen betreffend, J. Reine Angew. Math. 21 (1840), 372-374. · ERAM 021.0672cj This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.