cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-6 of 6 results.

A083207 Zumkeller or integer-perfect numbers: numbers n whose divisors can be partitioned into two disjoint sets with equal sum.

Original entry on oeis.org

6, 12, 20, 24, 28, 30, 40, 42, 48, 54, 56, 60, 66, 70, 78, 80, 84, 88, 90, 96, 102, 104, 108, 112, 114, 120, 126, 132, 138, 140, 150, 156, 160, 168, 174, 176, 180, 186, 192, 198, 204, 208, 210, 216, 220, 222, 224, 228, 234, 240, 246, 252, 258, 260, 264, 270, 272
Offset: 1

Views

Author

Reinhard Zumkeller, Apr 22 2003

Keywords

Comments

The 229026 Zumkeller numbers less than 10^6 have a maximum difference of 12. This leads to the conjecture that any 12 consecutive numbers include at least one Zumkeller number. There are 1989 odd Zumkeller numbers less than 10^6; they are exactly the odd abundant numbers that have even abundance, A174865. - T. D. Noe, Mar 31 2010
For k >= 0, numbers of the form 18k + 6 and 18k + 12 are terms (see Remark 2.3. in Somu et al., 2023). Corollary: The maximum difference between any two consecutive terms is at most 12. - Ivan N. Ianakiev, Jan 02 2024
All 205283 odd abundant numbers less than 10^8 that have even abundance (see A174865) are Zumkeller numbers. - T. D. Noe, Nov 14 2010
Except for 1 and 2, all primorials (A002110) are Zumkeller numbers (follows from Fact 6 in the Rao/Peng paper). - Ivan N. Ianakiev, Mar 23 2016
Supersequence of A111592 (follows from Fact 3 in the Rao/Peng paper). - Ivan N. Ianakiev, Mar 20 2017
Conjecture: Any 4 consecutive terms include at least one number k such that sigma(k)/2 is also a Zumkeller number (verified for the first 10^5 Zumkeller numbers). - Ivan N. Ianakiev, Apr 03 2017
LeVan studied these numbers using the equivalent definition of numbers n such that n = Sum_{d|n, dA180332) "minimal integer-perfect numbers". - Amiram Eldar, Dec 20 2018
The numbers 3 * 2^k for k > 0 are all Zumkeller numbers: half of one such partition is {3*2^k, 3*2^(k-2), ...}, replacing 3 with 2 if it appears. With this and the lemma that the product of a Zumkeller number and a number coprime to it is again a Zumkeller number (see A179527), we have that all numbers divisible by 6 but not 9 (or numbers congruent to 6 or 12 modulo 18) are Zumkeller numbers, proving that the difference between consecutive Zumkeller numbers is at most 12. - Charlie Neder, Jan 15 2019
Improvements on the previous comment: 1) For every integer q > 0, every odd integer r > 0 and every integer s > 0 relatively prime to 6, the integer 2^q*3^r*s is a Zumkeller number, and therefore 2) there exist Zumkeller numbers divisible by 9 (such as 54, 90, 108, 126, etc.). - Ivan N. Ianakiev, Jan 16 2020
Conjecture: If d > 1, d|k and tau(d)*sigma(d) = k, then k is a Zumkeller number (cf. A331668). - Ivan N. Ianakiev, Apr 24 2020
This sequence contains A378541, the intersection of the practical numbers (A005153) with numbers with even sum of divisors (A028983). - David A. Corneth, Nov 03 2024
Sequence gives the positions of even terms in A119347, and correspondingly, of odd terms in A308605. - Antti Karttunen, Nov 29 2024
If s = sigma(m) is odd and p > s then m*p is not in the sequence. - David A. Corneth, Dec 07 2024

Examples

			Given n = 48, we can partition the divisors thus: 1 + 3 + 4 + 6 + 8 + 16 + 24 = 2 + 12 + 48, therefore 48 is a term (A083206(48) = 5).
From _David A. Corneth_, Dec 04 2024: (Start)
30 is in the sequence. sigma(30) = 72. So we look for distinct divisors of 30 that sum to 72/2 = 36. That set or its complement contains 30. The other divisors in that set containing 30 sum to 36 - 30 = 6. So we look for some distinct proper divisors of 30 that sum to 6. That is from the divisors of {1, 2, 3, 5, 6, 10, 15}. It turns out that both 1+2+3 and 6 satisfy this condition. So 36 is in the sequence.
25 is not in the sequence as sigma(25) = 31 which is odd so the sum of two equal integers cannot be the sum of divisors of 25.
33 is not in the sequence as sigma(33) = 48 < 2*33. So is impossible to have a partition of the set of divisors into two disjoint set the sum of each of them sums to 48/2 = 24 as one of them contains 33 > 24 and any other divisors are nonnegative. (End)
		

References

  • Marijo O. LeVan, Integer-perfect numbers, Journal of Natural Sciences and Mathematics, Vol. 27, No. 2 (1987), pp. 33-50.
  • Marijo O. LeVan, On the order of nu(n), Journal of Natural Sciences and Mathematics, Vol. 28, No. 1 (1988), pp. 165-173.
  • J. Sandor and B. Crstici, Handbook of Number Theory, II, Springer Verlag, 2004, chapter 1.10, pp. 53-54.

Crossrefs

Positions of nonzero terms in A083206, positions of 0's in A103977 and in A378600.
Positions of even terms in A119347, of odd terms in A308605.
Complement of A083210.
Subsequence of A023196 and of A028983.
Union of A353061 and A378541.
Conjectured subsequences: A007691, A331668 (after their initial 1's), A351548 (apart from 0-terms).
Cf. A174865 (Odd abundant numbers whose abundance is even).
Cf. A204830, A204831 (equal sums of 3 or 4 disjoint subsets).
Cf. A000203, A005101, A005153 (practical numbers), A005835, A027750, A048055, A083206, A083208, A083211, A171641, A175592, A179527 (characteristic function), A221054.

Programs

  • Haskell
    a083207 n = a083207_list !! (n-1)
    a083207_list = filter (z 0 0 . a027750_row) $ [1..] where
       z u v []     = u == v
       z u v (p:ps) = z (u + p) v ps || z u (v + p) ps
    -- Reinhard Zumkeller, Apr 18 2013
    
  • Maple
    with(numtheory): with(combstruct):
    is_A083207 := proc(n) local S, R, Found, Comb, a, s; s := sigma(n);
    if not(modp(s, 2) = 0 and n * 2 <= s) then return false fi;
    S := s / 2 - n; R := select(m -> m <= S, divisors(n)); Found := false;
    Comb := iterstructs(Combination(R)):
    while not finished(Comb) and not Found do
       Found := add(a, a = nextstruct(Comb)) = S
    od; Found end:
    A083207_list := upto -> select(is_A083207, [$1..upto]):
    A083207_list(272); # Peter Luschny, Dec 14 2009, updated Aug 15 2014
  • Mathematica
    ZumkellerQ[n_] := Module[{d=Divisors[n], t, ds, x}, ds = Plus@@d; If[Mod[ds, 2] > 0, False, t = CoefficientList[Product[1 + x^i, {i, d}], x]; t[[1 + ds/2]] > 0]]; Select[Range[1000], ZumkellerQ] (* T. D. Noe, Mar 31 2010 *)
    znQ[n_]:=Length[Select[{#,Complement[Divisors[n],#]}&/@Most[Rest[ Subsets[ Divisors[ n]]]],Total[#[[1]]]==Total[#[[2]]]&]]>0; Select[Range[300],znQ] (* Harvey P. Dale, Dec 26 2022 *)
  • PARI
    part(n,v)=if(n<1, return(n==0)); forstep(i=#v,2,-1,if(part(n-v[i],v[1..i-1]), return(1))); n==v[1]
    is(n)=my(d=divisors(n),s=sum(i=1,#d,d[i])); s%2==0 && part(s/2-n,d[1..#d-1]) \\ Charles R Greathouse IV, Mar 09 2014
    
  • PARI
    \\ See Corneth link
    
  • Python
    from sympy import divisors
    from sympy.combinatorics.subsets import Subset
    for n in range(1,10**3):
        d = divisors(n)
        s = sum(d)
        if not s % 2 and max(d) <= s/2:
            for x in range(1,2**len(d)):
                if sum(Subset.unrank_binary(x,d).subset) == s/2:
                    print(n,end=', ')
                    break
    # Chai Wah Wu, Aug 13 2014
    
  • Python
    from sympy import divisors
    import numpy as np
    A083207 = []
    for n in range(2,10**3):
        d = divisors(n)
        s = sum(d)
        if not s % 2 and 2*n <= s:
            d.remove(n)
            s2, ld = int(s/2-n), len(d)
            z = np.zeros((ld+1,s2+1),dtype=int)
            for i in range(1,ld+1):
                y = min(d[i-1],s2+1)
                z[i,range(y)] = z[i-1,range(y)]
                z[i,range(y,s2+1)] = np.maximum(z[i-1,range(y,s2+1)],z[i-1,range(0,s2+1-y)]+y)
                if z[i,s2] == s2:
                    A083207.append(n)
                    break
    # Chai Wah Wu, Aug 19 2014
    
  • Sage
    def is_Zumkeller(n):
        s = sigma(n)
        if not (2.divides(s) and n*2 <= s): return False
        S = s // 2 - n
        R = (m for m in divisors(n) if m <= S)
        return any(sum(c) == S for c in Combinations(R))
    A083207_list = lambda lim: [n for n in (1..lim) if is_Zumkeller(n)]
    print(A083207_list(272)) # Peter Luschny, Sep 03 2018

Formula

A083206(a(n)) > 0.
A083208(n) = A083206(a(n)).
A179529(a(n)) = 1. - Reinhard Zumkeller, Jul 19 2010

Extensions

Name improved by T. D. Noe, Mar 31 2010
Name "Zumkeller numbers" added by N. J. A. Sloane, Jul 08 2010

A179527 Characteristic function of Zumkeller numbers (A083207).

Original entry on oeis.org

0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0
Offset: 1

Views

Author

Reinhard Zumkeller, Jul 19 2010

Keywords

Crossrefs

Programs

  • Mathematica
    ZumkellerQ[n_] := Module[{d = Divisors[n], t, ds, x}, ds = Total[d]; If[Mod[ds, 2] > 0, False, t = CoefficientList[Product[1 + x^i, {i, d}], x]; t[[1 + ds/2]] > 0]];
    a[n_] := Boole[ZumkellerQ[n]];
    Array[a, 105] (* Jean-François Alcover, Apr 30 2017, after T. D. Noe *)

Formula

a(n) = A179528(n+1) - A179528(n).
a(A083207(n)) = 1; a(A083210(n)) = 0.
a(n) = A057427(A083206(n)).
Let n such that a(n)=1 and m coprime to n, then a(m*n)=1, this was proved by R. Gerbicz (lemma for proving A179529(n)>0).

A083210 Numbers with no subset of their divisors such that the complement has the same sum.

Original entry on oeis.org

1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 21, 22, 23, 25, 26, 27, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 55, 57, 58, 59, 61, 62, 63, 64, 65, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 79, 81, 82, 83, 85, 86, 87, 89, 91
Offset: 1

Views

Author

Reinhard Zumkeller, Apr 22 2003

Keywords

Comments

A083206(a(n)) = 0; complement of A083207; deficient numbers (A005100) are a subset.
A179529(a(n)) = 0. [Reinhard Zumkeller, Jul 19 2010]

Crossrefs

Positions of 0's in A083206.
Cf. A083207 (complement).
Cf. A005100, A083211 (subsequences).

Programs

  • PARI
    is_A083210(n) = !A083206(n); \\ Antti Karttunen, Dec 02 2024
  • Python
    from itertools import count, islice
    from sympy import divisors
    def A083210_gen(startvalue=1): # generator of terms >= startvalue
        for n in count(max(startvalue,1)):
            d = divisors(n)
            s = sum(d)
            if s&1^1 and n<<1<=s:
                d = d[:-1]
                s2, ld = (s>>1)-n, len(d)
                z = [[0 for  in range(s2+1)] for  in range(ld+1)]
                for i in range(1, ld+1):
                    y = min(d[i-1], s2+1)
                    z[i][:y] = z[i-1][:y]
                    for j in range(y,s2+1):
                        z[i][j] = max(z[i-1][j],z[i-1][j-y]+y)
                    if z[i][s2] == s2:
                        break
                else:
                    yield n
            else:
                yield n
    A083210_list = list(islice(A083210_gen(),30)) # Chai Wah Wu, Feb 13 2023
    

A179528 Number of terms of A083207 that are not greater than n.

Original entry on oeis.org

0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17
Offset: 1

Views

Author

Reinhard Zumkeller, Jul 19 2010

Keywords

Comments

Partial sums of A179527: a(n) = SUM(A179527(k): 1<=k<=n);
A179529(n+1) = a(n+12) - a(n).

Examples

			a(100)=#{6,12,20,24,28,30,40,42,48,54,56,60,66,70,78,80,84,88,90,96}=20;
a(1000000)=229026, by _T. D. Noe_.
		

Programs

  • Mathematica
    ZumkellerQ[n_] := Module[{d = Divisors[n], t, ds, x}, ds = Total[d]; If[Mod[ds, 2] > 0, False, t = CoefficientList[Product[1 + x^i, {i, d}], x]; t[[1 + ds/2]] > 0]];
    b[n_] := Boole[ZumkellerQ[n]];
    Array[b, 100] // Accumulate (* Jean-François Alcover, Apr 30 2017, after T. D. Noe *)

A179530 Smallest of 12 consecutive numbers containing exactly n terms of A083207.

Original entry on oeis.org

7, 1, 17, 19, 489, 116859
Offset: 1

Views

Author

Reinhard Zumkeller, Jul 19 2010

Keywords

Comments

A179529(a(n)) = n and A179529(m) <> n for m < a(n);
SUM(A179527(k): a(n) <= k < a(n)+12) = n;
by definition the sequence is finite with at most 12 terms.

Examples

			a(3)=17: A179529(17) = #{20,24,28} = #{A083207(3),A083207(4),A083207(5)} = 3;
a(4)=19: A179529(19) = #{20,24,28,30} = #{A083207(3),A083207(4),A083207(5),A083207(6)} = 4;
a(5)=489: A179529(489) = #{490,492,496,498,500} = #{A083207(107),A083207(108),A083207(109),A083207(110),A083207(111)} = 5.
For a(6), the six Zumkeller numbers are 116860, 116862, 116864, 116865, 116868, and 116870. [From _T. D. Noe_, Aug 22 2010]
		

Crossrefs

Cf. A179528.

Extensions

a(6) from T. D. Noe, Aug 22 2010

A345704 Zumkeller numbers k (A083207) such that the next Zumkeller number is k + 12.

Original entry on oeis.org

282, 840, 1596, 1794, 1920, 2496, 2928, 3108, 3522, 3540, 3594, 4008, 4188, 4602, 4620, 4998, 5268, 5862, 6060, 6708, 6888, 7086, 7788, 7968, 8382, 8400, 9048, 9840, 10362, 10542, 10920, 11100, 11568, 12126, 12162, 12180, 13422, 14106, 14322, 14394, 14880, 15348
Offset: 1

Views

Author

Amiram Eldar, Jun 24 2021

Keywords

Comments

Frank Buss and T. D. Noe conjectured (see A083207) and Robert Gerbicz proved that the largest possible gap between Zumkeller numbers is 12 (SeqFan post, 2010). A proof was also published by Mahanta et al. (2020).

Examples

			282 is a term since it is a Zumkeller number, and the next Zumkeller number is 282 + 12 = 294.
		

Crossrefs

Programs

  • Maple
    iszum:= proc(n) local D,s,P,d;
       D:= numtheory:-divisors(n);
       s:= convert(D,`+`);
       if s::odd then return false fi;
       P:= mul(1+x^d,d=D);
       coeff(P,x,s/2) > 0
    end proc:
    last:= 6: R:= NULL: count:= 0:
    for i from 7 while count < 60 do
      if iszum(i) then
         if i-last = 12 then R:= R, last; count:= count+1 fi;
         last:= i;
      fi
    od:
    R; # Robert Israel, Feb 13 2023
  • Mathematica
    zumQ[n_] := Module[{d = Divisors[n], sum, x}, sum = Plus @@ d;  EvenQ[sum] && CoefficientList[Product[1 + x^i, {i, d}], x][[1 + sum/2]] > 0]; z = Select[Range[5000], zumQ]; z[[Position[Differences[z], 12] // Flatten]]
  • Python
    from itertools import count, islice
    from sympy import divisors
    def A345704_gen(startvalue=1): # generator of terms >= startvalue
        m = -20
        for n in count(max(startvalue,1)):
            d = divisors(n)
            s = sum(d)
            if s&1^1 and n<<1<=s:
                d = d[:-1]
                s2, ld = (s>>1)-n, len(d)
                z = [[0 for  in range(s2+1)] for  in range(ld+1)]
                for i in range(1, ld+1):
                    y = min(d[i-1], s2+1)
                    z[i][:y] = z[i-1][:y]
                    for j in range(y,s2+1):
                        z[i][j] = max(z[i-1][j],z[i-1][j-y]+y)
                    if z[i][s2] == s2:
                        if m == n-12:
                            yield m
                        m = n
                        break
    A345704_list = list(islice(A345704_gen(),10)) # Chai Wah Wu, Feb 13 2023
Showing 1-6 of 6 results.