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-10 of 19 results. Next

A324522 Numbers > 1 where the minimum prime index is equal to the number of prime factors counted with multiplicity.

Original entry on oeis.org

2, 9, 15, 21, 33, 39, 51, 57, 69, 87, 93, 111, 123, 125, 129, 141, 159, 175, 177, 183, 201, 213, 219, 237, 245, 249, 267, 275, 291, 303, 309, 321, 325, 327, 339, 381, 385, 393, 411, 417, 425, 447, 453, 455, 471, 475, 489, 501, 519, 537, 543, 573, 575, 579, 591
Offset: 1

Views

Author

Gus Wiseman, Mar 06 2019

Keywords

Comments

A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
Also Heinz numbers of integer partitions where the minimum part is equal to the number of parts (A006141). The Heinz number of an integer partition (y_1, ..., y_k) is prime(y_1) * ... * prime(y_k).

Examples

			The sequence of terms together with their prime indices begins:
    2: {1}
    9: {2,2}
   15: {2,3}
   21: {2,4}
   33: {2,5}
   39: {2,6}
   51: {2,7}
   57: {2,8}
   69: {2,9}
   87: {2,10}
   93: {2,11}
  111: {2,12}
  123: {2,13}
  125: {3,3,3}
  129: {2,14}
  141: {2,15}
  159: {2,16}
  175: {3,3,4}
		

Crossrefs

Programs

  • Maple
    with(numtheory):
    q:= n-> is(pi(min(factorset(n)))=bigomega(n)):
    select(q, [$2..600])[];  # Alois P. Heinz, Mar 07 2019
  • Mathematica
    Select[Range[2,100],PrimePi[FactorInteger[#][[1,1]]]==PrimeOmega[#]&]

Formula

A055396(a(n)) = A001222(a(n)).

A324521 Numbers > 1 where the maximum prime index is less than or equal to the number of prime factors counted with multiplicity.

Original entry on oeis.org

2, 4, 6, 8, 9, 12, 16, 18, 20, 24, 27, 30, 32, 36, 40, 45, 48, 50, 54, 56, 60, 64, 72, 75, 80, 81, 84, 90, 96, 100, 108, 112, 120, 125, 126, 128, 135, 140, 144, 150, 160, 162, 168, 176, 180, 189, 192, 196, 200, 210, 216, 224, 225, 240, 243, 250, 252, 256
Offset: 1

Views

Author

Gus Wiseman, Mar 06 2019

Keywords

Comments

A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
Also Heinz numbers of integer partitions with nonnegative rank (A064174). The Heinz number of an integer partition (y_1, ..., y_k) is prime(y_1) * ... * prime(y_k).

Examples

			The sequence of terms together with their prime indices begins:
   2: {1}
   4: {1,1}
   6: {1,2}
   8: {1,1,1}
   9: {2,2}
  12: {1,1,2}
  16: {1,1,1,1}
  18: {1,2,2}
  20: {1,1,3}
  24: {1,1,1,2}
  27: {2,2,2}
  30: {1,2,3}
  32: {1,1,1,1,1}
  36: {1,1,2,2}
  40: {1,1,1,3}
  45: {2,2,3}
  48: {1,1,1,1,2}
		

Crossrefs

Programs

  • Maple
    with(numtheory):
    q:= n-> is(pi(max(factorset(n)))<=bigomega(n)):
    select(q, [$2..300])[];  # Alois P. Heinz, Mar 07 2019
  • Mathematica
    Select[Range[2,100],PrimePi[FactorInteger[#][[-1,1]]]<=PrimeOmega[#]&]
  • PARI
    isok(m) = (m>1) && (primepi(vecmax(factor(m)[, 1])) <= bigomega(m)); \\ Michel Marcus, Nov 14 2022
    
  • Python
    from sympy import factorint, primepi
    def ok(n):
        f = factorint(n)
        return primepi(max(f)) <= sum(f.values())
    print([k for k in range(2, 257) if ok(k)]) # Michael S. Branicky, Nov 15 2022

Formula

A061395(a(n)) <= A001222(a(n)).

A111907 Numbers k such that the same number of primes, among primes <= the largest prime dividing k, divide k as do not.

Original entry on oeis.org

1, 3, 9, 14, 21, 27, 28, 35, 56, 63, 78, 81, 98, 112, 130, 147, 156, 175, 182, 189, 195, 196, 224, 234, 243, 245, 260, 273, 286, 312, 364, 392, 429, 441, 448, 455, 468, 520, 567, 570, 572, 585, 624, 650, 686, 702, 715, 728, 729, 784, 798, 819, 875, 896, 936
Offset: 1

Views

Author

Leroy Quet, Aug 19 2005

Keywords

Comments

Also numbers whose greatest prime index (A061395) is twice their number of distinct prime factors (A001221). - Gus Wiseman, Mar 19 2023

Examples

			28 is included because 7 is the largest prime dividing 28. And of the primes <= 7 (2,3,5,7), 2 and 7 (2 primes) divide 28 and 3 and 5 (also 2 primes) do not divide 28.
From _Gus Wiseman_, Mar 19 2023: (Start)
The terms together with their prime indices begin:
    1: {}
    3: {2}
    9: {2,2}
   14: {1,4}
   21: {2,4}
   27: {2,2,2}
   28: {1,1,4}
   35: {3,4}
   56: {1,1,1,4}
   63: {2,2,4}
   78: {1,2,6}
   81: {2,2,2,2}
   98: {1,4,4}
  112: {1,1,1,1,4}
  130: {1,3,6}
  147: {2,4,4}
  156: {1,1,2,6}
For example, 156 is included because it has prime indices {1,1,2,6}, with distinct parts {1,2,6} and distinct non-parts {3,4,5}, both of length 3. Alternatively, 156 has greatest prime index 6 and omega 3, and 6 = 2*3.
(End)
		

Crossrefs

For length instead of maximum we have A067801.
These partitions are counted by A239959.
A001222 (bigomega) counts prime factors, distinct A001221 (omega).
A061395 gives greatest prime index.
A112798 lists prime indices, sum A056239.
Comparing twice the number of distinct parts to greatest part:
less: A360254, ranks A111906
equal: A239959, ranks A111907
greater: A237365, ranks A111905
less or equal: A237363, ranks A361204
greater or equal: A361394, ranks A361395

Programs

  • Mathematica
    Select[Range[100],2*PrimeNu[#]==PrimePi[FactorInteger[#][[-1,1]]]&] (* Gus Wiseman, Mar 19 2023 *)
  • PARI
    {m=950;v=vector(m);for(n=1,m,f=factor(n)[,1]~;c=0;pc=0;forprime(p=2,vecmax(f), j=1;s=length(f);while(j<=s&&p!=f[j],j++);if(j<=s,c++);pc++);v[n]=sign(pc-2*c)); for(n=1,m,if(v[n]==0,print1(n,",")))} \\ Klaus Brockhaus, Aug 21 2005
    
  • Python
    from itertools import count, islice
    from sympy import sieve, factorint
    def a_gen():
        yield 1
        for k in count(3):
            f = [sieve.search(i)[0] for i in factorint(k)]
            if 2*len(f) == f[-1]:
                yield k
    A111907_list = list(islice(a_gen(), 100)) # John Tyler Rascoe, Jun 20 2024

Extensions

More terms from Klaus Brockhaus, Aug 21 2005

A324562 Numbers > 1 where the maximum prime index is greater than or equal to the number of prime factors counted with multiplicity.

Original entry on oeis.org

2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 19, 20, 21, 22, 23, 25, 26, 28, 29, 30, 31, 33, 34, 35, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 55, 56, 57, 58, 59, 61, 62, 63, 65, 66, 67, 68, 69, 70, 71, 73, 74, 75, 76, 77, 78, 79, 82, 83, 84, 85
Offset: 1

Views

Author

Gus Wiseman, Mar 06 2019

Keywords

Comments

A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
Also Heinz numbers of the integer partitions enumerated by A064174. The Heinz number of an integer partition (y_1, ..., y_k) is prime(y_1) * ... * prime(y_k).

Examples

			The sequence of terms together with their prime indices begins:
   2: {1}
   3: {2}
   5: {3}
   6: {1,2}
   7: {4}
   9: {2,2}
  10: {1,3}
  11: {5}
  13: {6}
  14: {1,4}
  15: {2,3}
  17: {7}
  19: {8}
  20: {1,1,3}
  21: {2,4}
  22: {1,5}
  23: {9}
  25: {3,3}
  26: {1,6}
  28: {1,1,4}
		

Crossrefs

Programs

  • Maple
    with(numtheory):
    q:= n-> is(pi(max(factorset(n)))>=bigomega(n)):
    select(q, [$2..100])[];  # Alois P. Heinz, Mar 07 2019
  • Mathematica
    Select[Range[2,100],PrimePi[FactorInteger[#][[-1,1]]]>=PrimeOmega[#]&]

Formula

A061395(a(n)) >= A001222(a(n)).

A324518 Number of integer partitions of n > 0 where the maximum part equals the length minus the number of distinct parts.

Original entry on oeis.org

0, 1, 0, 0, 1, 2, 2, 0, 3, 1, 6, 7, 7, 9, 11, 10, 16, 26, 22, 42, 43, 54, 61, 83, 85, 118, 135, 179, 201, 263, 297, 371, 445, 510, 608, 732, 886, 1009, 1231, 1442, 1721, 2015, 2416, 2750, 3327, 3784, 4542, 5190, 6142, 7044, 8315, 9573, 11203, 12913, 15056
Offset: 1

Views

Author

Gus Wiseman, Mar 06 2019

Keywords

Comments

The Heinz numbers of these integer partitions are given by A324517.

Examples

			The a(2) = 1 through a(12) = 7 integer partitions:
  (11)  (2111)  (222)   (2221)   (33111)   (322111)  (32222)    (3333)
                (2211)  (31111)  (321111)            (33311)    (33222)
                                 (411111)            (322211)   (322221)
                                                     (332111)   (332211)
                                                     (4211111)  (441111)
                                                     (5111111)  (4221111)
                                                                (4311111)
		

Crossrefs

Programs

  • Mathematica
    Table[Length[Select[IntegerPartitions[n],Max@@#==Length[#]-Length[Union[#]]&]],{n,30}]

A324519 Numbers > 1 where the minimum prime index equals the number of prime factors minus the number of distinct prime factors.

Original entry on oeis.org

4, 12, 18, 20, 27, 28, 44, 50, 52, 60, 68, 76, 84, 90, 92, 98, 116, 124, 126, 132, 135, 140, 148, 150, 156, 164, 172, 188, 189, 198, 204, 212, 220, 225, 228, 234, 236, 242, 244, 260, 268, 276, 284, 292, 294, 297, 306, 308, 316, 332, 338, 340, 342, 348, 350
Offset: 1

Views

Author

Gus Wiseman, Mar 06 2019

Keywords

Comments

A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
Also Heinz numbers of the integer partitions enumerated by A324520. The Heinz number of an integer partition (y_1, ..., y_k) is prime(y_1) * ... * prime(y_k).

Examples

			The sequence of terms together with their prime indices begins:
   4: {1,1}
  12: {1,1,2}
  18: {1,2,2}
  20: {1,1,3}
  27: {2,2,2}
  28: {1,1,4}
  44: {1,1,5}
  50: {1,3,3}
  52: {1,1,6}
  60: {1,1,2,3}
  68: {1,1,7}
  76: {1,1,8}
  84: {1,1,2,4}
  90: {1,2,2,3}
  92: {1,1,9}
  98: {1,4,4}
		

Crossrefs

Programs

  • Mathematica
    Select[Range[2,100],With[{f=FactorInteger[#]},PrimePi[f[[1,1]]]==Total[Last/@f]-Length[f]]&]

Formula

A055396(a(n)) = A001222(a(n)) - A001221(a(n)) = A046660(a(n)).

A340788 Heinz numbers of integer partitions of negative rank.

Original entry on oeis.org

4, 8, 12, 16, 18, 24, 27, 32, 36, 40, 48, 54, 60, 64, 72, 80, 81, 90, 96, 100, 108, 112, 120, 128, 135, 144, 150, 160, 162, 168, 180, 192, 200, 216, 224, 225, 240, 243, 250, 252, 256, 270, 280, 288, 300, 320, 324, 336, 352, 360, 375, 378, 384, 392, 400, 405
Offset: 1

Views

Author

Gus Wiseman, Jan 29 2021

Keywords

Comments

The Heinz number of a partition (y_1,...,y_k) is prime(y_1)*...*prime(y_k), giving a bijective correspondence between positive integers and integer partitions.
The Dyson rank of a nonempty partition is its maximum part minus its length. The rank of an empty partition is undefined.

Examples

			The sequence of partitions together with their Heinz numbers begins:
      4: (1,1)             80: (3,1,1,1,1)
      8: (1,1,1)           81: (2,2,2,2)
     12: (2,1,1)           90: (3,2,2,1)
     16: (1,1,1,1)         96: (2,1,1,1,1,1)
     18: (2,2,1)          100: (3,3,1,1)
     24: (2,1,1,1)        108: (2,2,2,1,1)
     27: (2,2,2)          112: (4,1,1,1,1)
     32: (1,1,1,1,1)      120: (3,2,1,1,1)
     36: (2,2,1,1)        128: (1,1,1,1,1,1,1)
     40: (3,1,1,1)        135: (3,2,2,2)
     48: (2,1,1,1,1)      144: (2,2,1,1,1,1)
     54: (2,2,2,1)        150: (3,3,2,1)
     60: (3,2,1,1)        160: (3,1,1,1,1,1)
     64: (1,1,1,1,1,1)    162: (2,2,2,2,1)
     72: (2,2,1,1,1)      168: (4,2,1,1,1)
		

Crossrefs

Note: A-numbers of Heinz-number sequences are in parentheses below.
These partitions are counted by A064173.
The odd case is A101707 is (A340929).
The even case is A101708 is (A340930).
The positive version is (A340787).
A001222 counts prime factors.
A061395 selects the maximum prime index.
A072233 counts partitions by sum and length.
A168659 counts partitions whose length is divisible by maximum.
A200750 counts partitions whose length and maximum are relatively prime.
- Rank -
A047993 counts partitions of rank 0 (A106529).
A063995/A105806 count partitions by Dyson rank.
A064174 counts partitions of nonnegative/nonpositive rank (A324562/A324521).
A101198 counts partitions of rank 1 (A325233).
A257541 gives the rank of the partition with Heinz number n.
A324518 counts partitions with rank equal to greatest part (A324517).
A324520 counts partitions with rank equal to least part (A324519).
A340601 counts partitions of even rank (A340602), with strict case A117192.
A340692 counts partitions of odd rank (A340603), with strict case A117193.

Programs

  • Mathematica
    Select[Range[2,100],PrimePi[FactorInteger[#][[-1,1]]]
    				

Formula

For all terms A061395(a(n)) < A001222(a(n)).

A324560 Numbers > 1 where the minimum prime index is less than or equal to the number of prime factors counted with multiplicity.

Original entry on oeis.org

2, 4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 26, 27, 28, 30, 32, 33, 34, 36, 38, 39, 40, 42, 44, 45, 46, 48, 50, 51, 52, 54, 56, 57, 58, 60, 62, 63, 64, 66, 68, 69, 70, 72, 74, 75, 76, 78, 80, 81, 82, 84, 86, 87, 88, 90, 92, 93, 94, 96, 98, 99, 100
Offset: 1

Views

Author

Gus Wiseman, Mar 06 2019

Keywords

Comments

A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
Also Heinz numbers of a certain type of integer partitions counted by A039900 (but not the type of partitions described in the name). The Heinz number of an integer partition (y_1, ..., y_k) is prime(y_1) * ... * prime(y_k).

Examples

			The sequence of terms together with their prime indices begins:
   2: {1}
   4: {1,1}
   6: {1,2}
   8: {1,1,1}
   9: {2,2}
  10: {1,3}
  12: {1,1,2}
  14: {1,4}
  15: {2,3}
  16: {1,1,1,1}
  18: {1,2,2}
  20: {1,1,3}
  21: {2,4}
  22: {1,5}
  24: {1,1,1,2}
  26: {1,6}
  27: {2,2,2}
  28: {1,1,4}
  30: {1,2,3}
  32: {1,1,1,1,1}
		

Crossrefs

Programs

  • Maple
    with(numtheory):
    q:= n-> is(pi(min(factorset(n)))<=bigomega(n)):
    select(q, [$2..100])[];  # Alois P. Heinz, Mar 07 2019
  • Mathematica
    Select[Range[2,100],PrimePi[FactorInteger[#][[1,1]]]<=PrimeOmega[#]&]

Formula

A055396(a(n)) <= A001222(a(n)).

A340787 Heinz numbers of integer partitions of positive rank.

Original entry on oeis.org

3, 5, 7, 10, 11, 13, 14, 15, 17, 19, 21, 22, 23, 25, 26, 28, 29, 31, 33, 34, 35, 37, 38, 39, 41, 42, 43, 44, 46, 47, 49, 51, 52, 53, 55, 57, 58, 59, 61, 62, 63, 65, 66, 67, 68, 69, 70, 71, 73, 74, 76, 77, 78, 79, 82, 83, 85, 86, 87, 88, 89, 91, 92, 93, 94, 95
Offset: 1

Views

Author

Gus Wiseman, Jan 29 2021

Keywords

Comments

The Heinz number of a partition (y_1,...,y_k) is prime(y_1)*...*prime(y_k), giving a bijective correspondence between positive integers and integer partitions.
The Dyson rank of a nonempty partition is its maximum part minus its length. The rank of an empty partition is undefined.

Examples

			The sequence of partitions together with their Heinz numbers begins:
     3: (2)      28: (4,1,1)    49: (4,4)      69: (9,2)
     5: (3)      29: (10)       51: (7,2)      70: (4,3,1)
     7: (4)      31: (11)       52: (6,1,1)    71: (20)
    10: (3,1)    33: (5,2)      53: (16)       73: (21)
    11: (5)      34: (7,1)      55: (5,3)      74: (12,1)
    13: (6)      35: (4,3)      57: (8,2)      76: (8,1,1)
    14: (4,1)    37: (12)       58: (10,1)     77: (5,4)
    15: (3,2)    38: (8,1)      59: (17)       78: (6,2,1)
    17: (7)      39: (6,2)      61: (18)       79: (22)
    19: (8)      41: (13)       62: (11,1)     82: (13,1)
    21: (4,2)    42: (4,2,1)    63: (4,2,2)    83: (23)
    22: (5,1)    43: (14)       65: (6,3)      85: (7,3)
    23: (9)      44: (5,1,1)    66: (5,2,1)    86: (14,1)
    25: (3,3)    46: (9,1)      67: (19)       87: (10,2)
    26: (6,1)    47: (15)       68: (7,1,1)    88: (5,1,1,1)
		

Crossrefs

Note: A-numbers of Heinz-number sequences are in parentheses below.
These partitions are counted by A064173.
The odd case is A101707 (A340604).
The even case is A101708 (A340605).
The negative version is (A340788).
A001222 counts prime factors.
A061395 selects the maximum prime index.
A072233 counts partitions by sum and length.
A168659 = partitions whose greatest part divides their length (A340609).
A168659 = partitions whose length divides their greatest part (A340610).
A200750 = partitions whose length and maximum are relatively prime.
- Rank -
A047993 counts partitions of rank 0 (A106529).
A063995/A105806 count partitions by Dyson rank.
A064174 counts partitions of nonnegative/nonpositive rank (A324562/A324521).
A101198 counts partitions of rank 1 (A325233).
A257541 gives the rank of the partition with Heinz number n.
A324520 counts partitions with rank equal to least part (A324519).
A340601 counts partitions of even rank (A340602), with strict case A117192.
A340692 counts partitions of odd rank (A340603), with strict case A117193.

Programs

  • Mathematica
    Select[Range[2,100],PrimePi[FactorInteger[#][[-1,1]]]>PrimeOmega[#]&]

Formula

For all terms A061395(a(n)) > A001222(a(n)).

A324515 Numbers > 1 where the maximum prime index minus the minimum prime index equals the number of prime factors minus the number of distinct prime factors.

Original entry on oeis.org

2, 3, 5, 7, 11, 12, 13, 17, 18, 19, 23, 29, 31, 37, 40, 41, 43, 45, 47, 53, 59, 61, 67, 71, 73, 75, 79, 83, 89, 97, 100, 101, 103, 107, 109, 112, 113, 120, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 175, 179, 180, 181, 189, 191, 193, 197, 199, 211, 223
Offset: 1

Views

Author

Gus Wiseman, Mar 06 2019

Keywords

Comments

A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
Also Heinz numbers of the integer partitions enumerated by A324516. The Heinz number of an integer partition (y_1, ..., y_k) is prime(y_1) * ... * prime(y_k).

Examples

			The sequence of terms together with their prime indices begins:
   2: {1}
   3: {2}
   5: {3}
   7: {4}
  11: {5}
  12: {1,1,2}
  13: {6}
  17: {7}
  18: {1,2,2}
  19: {8}
  23: {9}
  29: {10}
  31: {11}
  37: {12}
  40: {1,1,1,3}
  41: {13}
  43: {14}
  45: {2,2,3}
		

Crossrefs

Programs

  • Maple
    filter:= proc(n) local F, Inds, t;
      if isprime(n) then return true fi;
      F:= ifactors(n)[2];
      Inds:= map(numtheory:-pi, F[..,1]);
      max(Inds) - min(Inds) = add(t[2],t=F) - nops(F)
    end proc:
    select(filter, [$2..300]); # Robert Israel, Nov 19 2023
  • Mathematica
    Select[Range[2,100],With[{f=FactorInteger[#]},PrimePi[f[[-1,1]]]-PrimePi[f[[1,1]]]==Total[Last/@f]-Length[f]]&]

Formula

A243055(a(n)) = A061395(a(n)) - A055396(a(n)) = A001222(a(n)) - A001221(a(n)) = A046660(a(n)).
Showing 1-10 of 19 results. Next