login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Practical numbers: positive integers m such that every k <= sigma(m) is a sum of distinct divisors of m. Also called panarithmic numbers.
(Formerly M0991)
172

%I M0991 #278 Mar 23 2024 20:02:37

%S 1,2,4,6,8,12,16,18,20,24,28,30,32,36,40,42,48,54,56,60,64,66,72,78,

%T 80,84,88,90,96,100,104,108,112,120,126,128,132,140,144,150,156,160,

%U 162,168,176,180,192,196,198,200,204,208,210,216,220,224,228,234,240,252

%N Practical numbers: positive integers m such that every k <= sigma(m) is a sum of distinct divisors of m. Also called panarithmic numbers.

%C Equivalently, positive integers m such that every number k <= m is a sum of distinct divisors of m.

%C 2^r is a member for all r as every number < = sigma(2^r) = 2^(r+1)-1 is a sum of a distinct subset of divisors {1, 2, 2^2, ..., 2^m}. - _Amarnath Murthy_, Apr 23 2004

%C Also, numbers m such that A030057(m) > m. This is a consequence of the following theorem (due to Stewart), found at the McLeman link: An integer m >= 2 with factorization Product_{i=1..k} p_i^e_i with the p_i in ascending order is practical if and only if p_1 = 2 and, for 1 < i <= k, p_i <= sigma(Product_{j < i} p_j^e_j) + 1. - _Franklin T. Adams-Watters_, Nov 09 2006

%C Practical numbers first appear in Srinivasan's short paper, which contains terms up to 200. Let m be a practical number. He states that (1) if m>2, m is a multiple of 4 or 6; (2) sigma(m) >= 2*m-1 (A103288); and (3) 2^t*m is practical. He also states that highly composite numbers (A002182), perfect numbers (A000396), and primorial numbers (A002110) are practical. - _T. D. Noe_, Apr 02 2010

%C Conjecture: The sequence a(n)^(1/n) (n=3,4,...) is strictly decreasing to the limit 1. - _Zhi-Wei Sun_, Jan 12 2013

%C Conjecture: For any positive rational number r, there are finitely many pairwise distinct practical numbers q(1)..q(k) such that r = Sum_{j=1..k} 1/q(j). For example, 2 = 1/1 + 1/2 + 1/4 + 1/6 + 1/12 with 1, 2, 4, 6 and 12 all practical, and 10/11 = 1/2 + 1/4 + 1/8 + 1/48 + 1/132 + 1/176 with 2, 4, 8, 48, 132 and 176 all practical. - _Zhi-Wei Sun_, Sep 12 2015

%C Analogous with the {1 union primes} (A008578), practical numbers form a complete sequence. This is because it contains all powers of 2 as a subsequence. - _Frank M Jackson_, Jun 21 2016

%C Sun's 2015 conjecture on the existence of Egyptian fractions with practical denominators for any positive rational number is true. See the link "Egyptian fractions with practical denominators". - _David Eppstein_, Nov 20 2016

%C Conjecture: if all divisors of m are 1 = d_1 < d_2 < ... < d_k = m, then m is practical if and only if d_(i+1)/d_i <= 2 for 1 <= i <= k-1. - _Jianing Song_, Jul 18 2018

%C The above conjecture is incorrect. The smallest counterexample is 78 (for which one of these quotients is 13/6; see A174973). m is practical if and only if the divisors of m form a complete subsequence. See Wikipedia links. - _Frank M Jackson_, Jul 25 2018

%C Reply to the comment above: Yes, and now I can show the opposite: The largest value of d_(i+1)/d_i is not bounded for practical numbers. Note that sigma(n)/n is not bounded for primorials, and primorials are practical numbers. For any constant c >= 2, let k be a practical number such that sigma(k)/k > 2c. By Bertrand's postulate there exists some prime p such that c*k < p < 2c*k < sigma(k), so k*p is a practical number with consecutive divisors k and p where p/k > c. For example, for k = 78 we have 13/6 > 2, and for 97380 we have 541/180 > 3. - _Jianing Song_, Jan 05 2019

%C Erdős (1950) and Erdős and Loxton (1979) proved that the asymptotic density of practical numbers is 0. - _Amiram Eldar_, Feb 13 2021

%C Let P(x) denote the number of practical numbers up to x. P(x) has order of magnitude x/log(x) (see Saias 1997). Moreover, we have P(x) = c*x/log(x) + O(x/(log(x))^2), where c = 1.33607... (see Weingartner 2015, 2020 and Remark 1 of Pomerance & Weingartner 2021). As a result, a(n) = k*n*log(n*log(n)) + O(n), where k = 1/c = 0.74846... - _Andreas Weingartner_, Jun 26 2021

%C From _Hal M. Switkay_, Dec 22 2022: (Start)

%C Every number of least prime signature (A025487) is practical, thereby including two classes of number mentioned in Noe's comment. This follows from Stewart's characterization of practical numbers, mentioned in Adams-Watters's comment, combined with Bertrand's postulate (there is a prime between every natural number and its double, inclusive).

%C Also, the first condition in Stewart's characterization (p_1 = 2) is equivalent to the second condition with index i = 1, given that an empty product is equal to 1. (End)

%C Conjecture: every odd number, beginning with 3, is the sum of a prime number and a practical number. Note that this conjecture occupies the space between the unproven Goldbach conjecture and the theorem that every even number, beginning with 2, is the sum of two practical numbers (Melfi's 1996 proof of Margenstern's conjecture). - _Hal M. Switkay_, Jan 28 2023

%D H. Heller, Mathematical Buds, Vol. 1, Chap. 2, pp. 10-22, Mu Alpha Theta OK, 1978.

%D Malcolm R. Heyworth, More on Panarithmic Numbers, New Zealand Math. Mag., Vol. 17 (1980), pp. 28-34 [ ISSN 0549-0510 ].

%D Ross Honsberger, Mathematical Gems, M.A.A., 1973, p. 113.

%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

%D A. K. Srinivasan, Practical numbers, Current Science, 17 (1948), 179-180.

%H Amiram Eldar, <a href="/A005153/b005153.txt">Table of n, a(n) for n = 1..10000</a> (terms 1..1000 from T. D. Noe)

%H Wayne Dymacek, <a href="/A005153/a005153.pdf">Letter to N. J. A. Sloane</a>, Jun 15 1978.

%H David Eppstein, <a href="https://11011110.github.io/blog/2016/11/20/egyptian-fractions-with.html">Egyptian fractions with practical denominators</a>, Nov 20, 2016

%H David Eppstein, <a href="https://arxiv.org/abs/1804.07396">Making Change in 2048</a>, arXiv:1804.07396 [cs.DM], 2018.

%H Paul Erdős, <a href="https://www.renyi.hu/~p_erdos/1950-02.pdf">On a Diophantine equation</a> (in Hungarian, with Russian and English summaries), Mat. Lapok, Vol. 1 (1950), pp. 192-210.

%H Paul Erdős and J. H. Loxton, <a href="https://doi.org/10.1017/S144678870001243X">Some problems in partitio numerorum</a>, Journal of the Australian Mathematical Society, Vol. 27, No. 3 (1979), pp. 319-331.

%H James Grimes and Brady Haran, <a href="https://www.youtube.com/watch?v=IlZOLwf87gM">Practical Numbers</a>, Numberphile video (2023).

%H Harvey J. Hindin, <a href="http://dx.doi.org/10.1109/MCOM.1980.1090205">Quasipractical numbers</a>, IEEE Communications Magazine, Vol. 18, No. 2 (March 1980), pp. 41-45.

%H Paolo Leonetti and Carlo Sanna, <a href="https://doi.org/10.1016/j.jnt.2019.07.005">Practical numbers among the binomial coefficients</a>, Journal of Number Theory, Vol. 207 (2020), pp. 145-155; <a href="https://arxiv.org/abs/1905.12023">arXiv preprint</a>, arXiv:1905.12023 [math.NT], 2019.

%H Maurice Margenstern, <a href="http://www.numdam.org/item?id=TAN_1984-1985__1__A4_0">Sur les nombres pratiques</a>, (in French), Groupe d'étude en théorie analytique des nombres, 1 (1984-1985), Exposé No. 21, 13 p.

%H Maurice Margenstern, <a href="http://dx.doi.org/10.1016/S0022-314X(05)80022-8">Les nombres pratiques: théorie, observations et conjectures</a>, Journal of Number Theory, Volume 37, Issue 1 (January 1991), pp. 1-36.

%H C. McLeman, <a href="https://planetmath.org/practicalnumber">Practical number</a>, PlanetMath.org.

%H Giuseppe Melfi, <a href="http://dx.doi.org/10.1006/jnth.1996.0012">On two conjectures about practical numbers</a>, J. Number Theory, Vol. 56, No. 1 (1996), pp. 205-210 [<a href="http://www.ams.org/mathscinet-getitem?mr=1370203">MR96i:11106</a>].

%H Giuseppe Melfi, <a href="https://arxiv.org/abs/math/0404555">On certain positive integer sequences</a>, arXiv:0404555 [math.NT], 2004.

%H Giuseppe Melfi, <a href="http://www.seminariomatematico.polito.it/rendiconti/cartaceo/53-4/347.pdf">A survey on practical numbers</a>, Rend. Sem. Mat. Univ. Politec. Torino, Vol. 53, No. 4 (1995), pp. 347-359.

%H Giuseppe Melfi, <a href="http://www.dm.unipi.it/gauss-pages/melfi/public_html/pratica.html">Practical Numbers</a> (<a href="http://www.unine.ch/statistics/melfi/pratica.html">old link</a>).

%H Paul Pollack and Lola Thompson, <a href="http://arxiv.org/abs/1201.3168">Practical pretenders</a>, arXiv:1201.3168 [math.NT], Jan 16 2012.

%H Carl Pomerance, Lola Thompson and Andreas Weingartner, <a href="http://arxiv.org/abs/1511.03357">On integers n for which X^n-1 has a divisor of every degree</a>, arXiv:1511.03357 [math.NT], 2015.

%H Carl Pomerance and Andreas Weingartner, <a href="https://link.springer.com/article/10.1007/s11139-020-00354-y">On primes and practical numbers</a>, Ramanujan J. (2021); <a href="https://arxiv.org/abs/2007.11062">arXiv preprint</a>, arXiv:2007.11062 [math.NT], 2020.

%H Eric Saias, <a href="http://dx.doi.org/10.1006/jnth.1997.2057">Entiers à diviseurs denses 1</a>, J. Number Theory, Vol. 62, No. 1 (1997), pp. 163-191; uses this definition.

%H Carlo Sanna, <a href="https://arxiv.org/abs/2004.05376">Practical central binomial coefficients</a>, arXiv:2004.05376 [math.NT], 2020.

%H Sai Teja Somu, Ting Hon Stanford Li, and Andrzej Kukla, <a href="http://math.colgate.edu/~integers/x68/x68.pdf">On Some Results on Practical Numbers</a>, INTEGERS, Volume 23, A68, 2023 [<a href="https://mathscinet.ams.org/mathscinet/relay-station?mr=4643065">MR4643065</a>].

%H Sai Teja Somu and Duc Van Khanh Tran, <a href="https://arxiv.org/abs/2403.13533">On Sums of Practical Numbers and Polygonal Numbers</a>, arXiv:2403.13533 [math.NT], 2024.

%H A. K. Srinivasan, <a href="https://web.archive.org/web/20200815171531/https://www.currentscience.ac.in/Downloads/article_id_017_06_0179_0180_0.pdf">Practical numbers</a>, Current Science, 17 (1948), 179-180.

%H B. M. Stewart, <a href="http://www.jstor.org/stable/2372651">Sums of distinct divisors</a>, Amer. J. Math., Vol. 76, No. 4 (1954), pp. 779-785 [<a href="http://www.ams.org/mathscinet-getitem?mr=64800">MR64800</a>]

%H Zhi-Wei Sun, <a href="http://maths.nju.edu.cn/~zwsun/UnitFraction.pdf">A conjecture on unit fractions involving primes</a>, preprint, 2015.

%H Peter Taylor, <a href="http://cheddarmonk.org/maths/practical_numbers/practical-numbers-1000000.txt">Table of n, a(n) for n = 1..1000000</a>.

%H Andreas Weingartner, <a href="https://doi.org/10.1093/qmath/hav006">Practical numbers and the distribution of divisors</a>, The Quarterly Journal of Mathematics, Vol. 66, No. 2 (2015), pp. 743-758; <a href="http://arxiv.org/abs/1405.2585">arXiv preprint</a>, arXiv:1405.2585 [math.NT], 2014-2015.

%H Andreas Weingartner, <a href="https://www.worldscientific.com/doi/10.1142/S1793042120500311">The constant factor in the asymptotic for practical numbers</a>, Int. J. Number Theory, 16 (2020), no. 3, 629-638; <a href="http://arxiv.org/abs/1906.07819">arXiv preprint</a>, arXiv:1906.07819 [math.NT], 2019.

%H Andreas Weingartner, <a href="https://arxiv.org/abs/2303.16819">Uniform distribution of alpha*n modulo one for a family of integer sequences</a>, arXiv:2303.16819 [math.NT], 2023.

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PracticalNumber.html">Practical Number</a>.

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Complete_sequence">"Complete" sequence</a>. [Wikipedia calls a sequence "complete" (sic) if every positive integer is a sum of distinct terms. This name is extremely misleading and should be avoided. - _N. J. A. Sloane_, May 20 2023]

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Practical_number">Practical number</a>.

%H Robert G. Wilson v, <a href="/A007621/a007621.pdf">Letter to N. J. A. Sloane</a>, date unknown.

%F Weingartner proves that a(n) ~ k*n log n, strengthening an earlier result of Saias. In particular, a(n) = k*n log n + O(n log log n). - _Charles R Greathouse IV_, May 10 2013

%F More precisely, a(n) = k*n*log(n*log(n)) + O(n), where k = 0.74846... (see comments). - _Andreas Weingartner_, Jun 26 2021

%p isA005153 := proc(n)

%p local ifs,pprod,p,i ;

%p if n = 1 then

%p return true;

%p elif type(n,'odd') then

%p return false ;

%p end if;

%p # not using ifactors here directly because no guarantee primes are sorted...

%p ifs := ifactors(n)[2] ;

%p pprod := 1;

%p for p in sort(numtheory[factorset](n) ) do

%p for i in ifs do

%p if op(1,i) = p then

%p if p > 2 and p > 1+numtheory[sigma](pprod) then

%p return false ;

%p end if;

%p pprod := pprod*p^op(2,i) ;

%p end if;

%p end do:

%p end do:

%p return true ;

%p end proc:

%p for n from 1 to 300 do

%p if isA005153(n) then

%p printf("%d,",n) ;

%p end if;

%p end do: # _R. J. Mathar_, Jul 07 2023

%t PracticalQ[n_] := Module[{f,p,e,prod=1,ok=True}, If[n<1 || (n>1 && OddQ[n]), False, If[n==1, True, f=FactorInteger[n]; {p,e} = Transpose[f]; Do[If[p[[i]] > 1+DivisorSigma[1,prod], ok=False; Break[]]; prod=prod*p[[i]]^e[[i]], {i,Length[p]}]; ok]]]; Select[Range[200], PracticalQ] (* _T. D. Noe_, Apr 02 2010 *)

%o (Haskell)

%o a005153 n = a005153_list !! (n-1)

%o a005153_list = filter (\x -> all (p $ a027750_row x) [1..x]) [1..]

%o where p _ 0 = True

%o p [] _ = False

%o p ds'@(d:ds) m = d <= m && (p ds (m - d) || p ds m)

%o -- _Reinhard Zumkeller_, Feb 23 2014, Oct 27 2011

%o (PARI) is_A005153(n)=bittest(n,0) && return(n==1); my(P=1); n && !for(i=2,#n=factor(n)~,n[1,i]>1+(P*=sigma(n[1,i-1]^n[2,i-1])) && return) \\ _M. F. Hasler_, Jan 13 2013

%o (Python)

%o from sympy import factorint

%o def is_A005153(n):

%o if n & 1: return n == 1

%o f = factorint(n) ; P = (2 << f.pop(2)) - 1

%o for p in f: # factorint must have prime factors in increasing order

%o if p > 1 + P: return

%o P *= p**(f[p]+1)//(p-1)

%o return True # _M. F. Hasler_, Jan 02 2023

%o (Python)

%o from sympy import divisors;from more_itertools import powerset

%o [i for i in range(1,253) if (lambda x:len(set(map(sum,powerset(x))))>sum(x))(divisors(i))] # _Nicholas Stefan Georgescu_, May 20 2023

%Y Subsequence of A103288.

%Y Cf. A002093, A007620 (second definition), A030057, A033630, A119348, A174533, A174973.

%Y Cf. A027750.

%K nonn,nice,easy

%O 1,2

%A _N. J. A. Sloane_

%E More terms from Pab Ter (pabrlos(AT)yahoo.com), May 09 2004

%E Erroneous comment removed by _T. D. Noe_, Nov 14 2010

%E Definition changed to exclude n = 0 explicitly by _M. F. Hasler_, Jan 19 2013