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 12 results. Next

A050346 Number of factorizations into distinct factors with one level of parentheses indexed by prime signatures. A050345(A025487).

Original entry on oeis.org

1, 1, 1, 3, 3, 6, 4, 13, 12, 7, 15, 25, 31, 12, 37, 46, 75, 19, 82, 96, 84, 60, 99, 164, 30, 168, 259, 148, 187, 234, 336, 49, 333, 628, 255, 506, 515, 346, 664, 77, 759, 636, 673, 598, 1406, 434, 1227, 1088, 1033, 1265, 119, 1979, 1178, 358, 2011, 1403
Offset: 1

Views

Author

Christian G. Bower, Oct 15 1999

Keywords

A293243 Numbers that cannot be written as a product of distinct squarefree numbers.

Original entry on oeis.org

4, 8, 9, 16, 24, 25, 27, 32, 40, 48, 49, 54, 56, 64, 72, 80, 81, 88, 96, 104, 108, 112, 121, 125, 128, 135, 136, 144, 152, 160, 162, 169, 176, 184, 189, 192, 200, 208, 216, 224, 232, 240, 243, 248, 250, 256, 272, 288, 289, 296, 297, 304, 320, 324, 328, 336
Offset: 1

Views

Author

Gus Wiseman, Oct 03 2017

Keywords

Comments

First differs from A212164 at a(441).
Numbers n such that A050326(n) = 0. - Felix Fröhlich, Oct 04 2017
Includes A246547, and all numbers of the form p^a*q^b where p and q are primes, a >= 1 and b >= 3. - Robert Israel, Oct 10 2017
Also numbers whose prime indices cannot be partitioned into a set of sets. For example, the prime indices of 90 are {1,2,2,3}, and we have sets of sets: {{2},{1,2,3}}, {{1,2},{2,3}}, {{1},{2},{2,3}}, {{2},{3},{1,2}}, so 90 is not in the sequence. - Gus Wiseman, Apr 28 2025

Examples

			120 is not in the sequence because 120 = 2*6*10. 3600 is not in the sequence because 3600 = 2*6*10*30.
		

Crossrefs

These are the zeros of A050326.
Multiset partitions of this type (set of sets) are counted by A050342.
Twice-partitions of this type (set of sets) are counted by A279785, see also A358914.
Normal multisets of this type are counted by A292432, A292444, A381996, A382214.
The case of a unique choice is A293511, counted by A382079.
For distinct block-sums instead of blocks see A381806, A381990, A381992, A382075.
Partitions of this type are counted by A382078.
The complement is A382200, counted by A382077.
A001055 counts factorizations, strict A045778.
A050320 counts factorizations into squarefree numbers.
A050345 counts factorizations partitioned into into distinct sets.
A317141 counts coarsenings of prime indices, refinements A300383.

Programs

  • Maple
    N:= 1000: # to get all terms <= N
    A:= Vector(N):
    A[1]:= 1:
    for n from 2 to N do
      if numtheory:-issqrfree(n) then
          S:= [$1..N/n]; T:= n*S; A[T]:= A[T]+A[S]
        fi;
    od:
    select(t -> A[t]=0, [$1..N]); # Robert Israel, Oct 10 2017
  • Mathematica
    nn=500;
    sqfacs[n_]:=If[n<=1,{{}},Join@@Table[Map[Prepend[#,d]&,Select[sqfacs[n/d],Min@@#>d&]],{d,Select[Rest[Divisors[n]],SquareFreeQ]}]];
    Select[Range[nn],Length[sqfacs[#]]===0&]

A296120 Number of ways to choose a strict factorization of each factor in a strict factorization of n.

Original entry on oeis.org

1, 1, 1, 1, 1, 3, 1, 3, 1, 3, 1, 6, 1, 3, 3, 4, 1, 6, 1, 6, 3, 3, 1, 13, 1, 3, 3, 6, 1, 12, 1, 7, 3, 3, 3, 14, 1, 3, 3, 13, 1, 12, 1, 6, 6, 3, 1, 25, 1, 6, 3, 6, 1, 13, 3, 13, 3, 3, 1, 31, 1, 3, 6, 11, 3, 12, 1, 6, 3, 12, 1, 36, 1, 3, 6, 6, 3, 12, 1, 25, 4, 3
Offset: 1

Views

Author

Gus Wiseman, Dec 05 2017

Keywords

Examples

			The a(36) = 14 twice-factorizations:
(36), (4*9), (3*12), (2*18), (2*3*6),
(4)*(9), (3)*(12), (3)*(3*4), (3)*(2*6), (2)*(18), (2)*(3*6), (2)*(2*9),
(2)*(3)*(6), (2)*(3)*(2*3).
		

Crossrefs

Programs

  • Mathematica
    sfs[n_]:=If[n<=1,{{}},Join@@Table[Map[Prepend[#,d]&,Select[sfs[n/d],Min@@#>d&]],{d,Rest[Divisors[n]]}]];
    Table[Sum[Times@@Length/@sfs/@fac,{fac,sfs[n]}],{n,100}]

Formula

Dirichlet g.f.: Product_{n > 1}(1 + A045778(n)/n^s).

A382077 Number of integer partitions of n that can be partitioned into a set of sets.

Original entry on oeis.org

1, 1, 1, 2, 3, 5, 6, 9, 13, 17, 25, 33, 44, 59, 77, 100, 134, 171, 217, 283, 361, 449, 574, 721, 900, 1126, 1397, 1731, 2143, 2632, 3223, 3961, 4825, 5874, 7131, 8646, 10452, 12604, 15155, 18216, 21826, 26108, 31169, 37156, 44202, 52492, 62233, 73676, 87089, 102756, 121074
Offset: 0

Views

Author

Gus Wiseman, Mar 18 2025

Keywords

Comments

First differs from A240306 at a(14) = 76, A240306(14) = 77.
First differs from A381992 at a(17) = 171, A381992(17) = 170.

Examples

			For y = (3,2,2,2,1,1,1), we have the multiset partition {{1},{2},{1,2},{1,2,3}}, so y is counted under a(12).
The a(1) = 1 through a(8) = 13 partitions:
  (1)  (2)  (3)    (4)      (5)      (6)        (7)        (8)
            (2,1)  (3,1)    (3,2)    (4,2)      (4,3)      (5,3)
                   (2,1,1)  (4,1)    (5,1)      (5,2)      (6,2)
                            (2,2,1)  (3,2,1)    (6,1)      (7,1)
                            (3,1,1)  (4,1,1)    (3,2,2)    (3,3,2)
                                     (2,2,1,1)  (3,3,1)    (4,2,2)
                                                (4,2,1)    (4,3,1)
                                                (5,1,1)    (5,2,1)
                                                (3,2,1,1)  (6,1,1)
                                                           (3,2,2,1)
                                                           (3,3,1,1)
                                                           (4,2,1,1)
                                                           (3,2,1,1,1)
		

Crossrefs

Factorizations of this type are counted by A050345.
More on set multipartitions: A089259, A116540, A270995, A296119, A318360.
Normal multiset partitions of this type are counted by A116539.
The MM-numbers of these multiset partitions are A302494.
Twice-partitions of this type are counted by A358914.
For distinct block-sums instead of blocks we have A381992, ranked by A382075.
The complement is counted by A382078, unique A382079.
These partitions are ranked by A382200, complement A293243.
For normal multisets instead of integer partitions we have A382214, complement A292432.
A000041 counts integer partitions, strict A000009.
A050320 counts multiset partitions of prime indices into sets.
A050326 counts multiset partitions of prime indices into distinct sets.
A265947 counts refinement-ordered pairs of integer partitions.

Programs

  • Mathematica
    sps[{}]:={{}};sps[set:{i_,_}]:=Join@@Function[s,Prepend[#,s]& /@ sps[Complement[set,s]]]/@Cases[Subsets[set],{i,_}];
    mps[set_]:=Union[Sort[Sort/@(#/.x_Integer:>set[[x]])]& /@ sps[Range[Length[set]]]];
    Table[Length[Select[IntegerPartitions[n], Length[Select[mps[#],UnsameQ@@#&&And@@UnsameQ@@@#&]]>0&]],{n,0,9}]

Extensions

a(21)-a(50) from Bert Dobbelaere, Mar 29 2025

A382078 Number of integer partitions of n that cannot be partitioned into a set of sets.

Original entry on oeis.org

0, 0, 1, 1, 2, 2, 5, 6, 9, 13, 17, 23, 33, 42, 58, 76, 97, 126, 168, 207, 266, 343, 428, 534, 675, 832, 1039, 1279, 1575, 1933, 2381, 2881, 3524, 4269, 5179, 6237, 7525, 9033, 10860, 12969, 15512, 18475, 22005, 26105, 30973, 36642, 43325, 51078, 60184, 70769, 83152
Offset: 0

Views

Author

Gus Wiseman, Mar 18 2025

Keywords

Comments

First differs from A240309 at a(11) = 23, A240309(11) = 25.
First differs from A381990 at a(17) = 126, A381990(17) = 127.

Examples

			The partition y = (2,2,1,1,1) can be partitioned into sets in the following ways:
  {{1},{1,2},{1,2}}
  {{1},{1},{2},{1,2}}
  {{1},{1},{1},{2},{2}}
But none of these is itself a set, so y is counted under a(7).
The a(2) = 1 through a(8) = 9 partitions:
  (11)  (111)  (22)    (2111)   (33)      (2221)     (44)
               (1111)  (11111)  (222)     (4111)     (2222)
                                (3111)    (22111)    (5111)
                                (21111)   (31111)    (22211)
                                (111111)  (211111)   (41111)
                                          (1111111)  (221111)
                                                     (311111)
                                                     (2111111)
                                                     (11111111)
		

Crossrefs

More on set multipartitions: A089259, A116540, A270995, A296119, A318360.
For normal multisets see A292432, A292444, A116539.
These partitions are ranked by A293243, complement A382200.
The MM-numbers of these multiset partitions (set of sets) are A302494.
Twice-partitions of this type are counted by A358914.
For distinct sums we have A381990 (ranks A381806), complement A381992 (ranks A382075).
The complement is counted by A382077, unique A382079.
A000041 counts integer partitions, strict A000009.
A050320 counts multiset partitions of prime indices into sets.
A050326 counts multiset partitions into distinct sets, complement A050345.
A265947 counts refinement-ordered pairs of integer partitions.

Programs

  • Mathematica
    sps[{}]:={{}};sps[set:{i_,_}]:=Join@@Function[s,Prepend[#,s]&/@sps[Complement[set,s]]]/@Cases[Subsets[set],{i,_}];
    mps[set_]:=Union[Sort[Sort/@(#/.x_Integer:>set[[x]])]&/@sps[Range[Length[set]]]];
    Table[Length[Select[IntegerPartitions[n],Length[Select[mps[#],UnsameQ@@#&&And@@UnsameQ@@@#&]]==0&]],{n,0,9}]

Extensions

a(19)-a(50) from Bert Dobbelaere, Mar 29 2025

A382075 Numbers whose prime indices can be partitioned into a set of sets with distinct sums.

Original entry on oeis.org

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

Views

Author

Gus Wiseman, Mar 19 2025

Keywords

Comments

First differs from A212167 in having 3600.
First differs from A335433 in lacking 72.
First differs from A339741 in having 1080.
First differs from A345172 in lacking 72.
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 numbers that can be written as a product of squarefree numbers with distinct sums of prime indices.

Examples

			The prime indices of 1080 are {1,1,1,2,2,2,3}, and {{1},{2},{1,2},{1,2,3}} is a partition into a set of sets with distinct sums, so 1080 is in the sequence.
		

Crossrefs

Twice-partitions of this type are counted by A279785, see also A358914.
These are positions of terms > 0 in A381633, see A321469, A381078, A381634.
For constant instead of strict blocks see A381635, A381636, A381716.
Normal multiset partitions into sets with distinct sums are counted by A381718.
The complement is A381806, counted by A381990.
The case of a unique choice is A381870, counted by A382079, see A382078.
Partitions of this type are counted by A381992.
For distinct blocks instead of block-sums we have A382200, complement A293243.
MM-numbers of multiset partitions into sets with distinct sums are A382201.
Normal multisets of this type are counted by A382216, see also A382214.
A001055 counts multiset partitions of prime indices, strict A045778.
A050320 counts multiset partitions of prime indices into sets.
A050326 counts multiset partitions of prime indices into distinct sets.
A055396 gives least prime index, greatest A061395.
A056239 adds up prime indices, row sums of A112798.
A317141 counts coarsenings of prime indices, refinements A300383.

Programs

  • Mathematica
    sps[{}]:={{}};sps[set:{i_,_}]:=Join@@Function[s,Prepend[#,s]& /@ sps[Complement[set,s]]]/@Cases[Subsets[set],{i,_}];
    mps[set_]:=Union[Sort[Sort/@(#/.x_Integer:>set[[x]])]& /@ sps[Range[Length[set]]]];
    Select[Range[100],Length[Select[mps[prix[#]], And@@UnsameQ@@@#&&UnsameQ@@Total/@#&]]>0&]

A382200 Numbers that can be written as a product of distinct squarefree numbers.

Original entry on oeis.org

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

Views

Author

Gus Wiseman, Mar 21 2025

Keywords

Comments

First differs from A339741 in having 1080.
First differs from A382075 in having 18000.
These are positions of positive terms in A050326, complement A293243.
Also numbers whose prime indices can be partitioned into distinct sets.
Differs from A212167, which does not include 18000 = 2^4*3^2*5^3, for example. - R. J. Mathar, Mar 23 2025

Examples

			The prime indices of 1080 are {1,1,1,2,2,2,3}, and {{1},{2},{1,2},{1,2,3}} is a partition into a set of sets, so 1080 is in the sequence.
We have 18000 = 2*5*6*10*30, so 18000 is in the sequence.
		

Crossrefs

Twice-partitions of this type are counted by A279785, see also A358914.
Normal multisets not of this type are counted by A292432, strong A292444.
The complement is A293243, counted by A050342.
The case of a unique choice is A293511.
MM-numbers of multiset partitions into distinct sets are A302494.
For distinct block-sums instead of blocks we have A382075, counted by A381992.
Partitions of this type are counted by A382077, complement A382078.
Normal multisets of this type are counted by A382214, strong A381996.
A001055 counts multiset partitions of prime indices, strict A045778.
A050320 counts multiset partitions of prime indices into sets.
A050326 counts multiset partitions of prime indices into distinct sets.
A317141 counts coarsenings of prime indices, refinements A300383.

Programs

  • Maple
    N:= 1000: # to get all terms <= N
    A:= Vector(N):
    A[1]:= 1:
    for n from 2 to N do
      if numtheory:-issqrfree(n) then
          S:= [$1..N/n]; T:= n*S; A[T]:= A[T]+A[S]
        fi;
    od:
    remove(t -> A[t]=0, [$1..N]); # Robert Israel, Apr 21 2025
  • Mathematica
    sqfacs[n_]:=If[n<=1,{{}},Join@@Table[Map[Prepend[#,d]&,Select[sqfacs[n/d],Min@@#>d&]],{d,Select[Rest[Divisors[n]],SquareFreeQ]}]];
    Select[Range[100],Length[sqfacs[#]]>0&]

A296121 Number of twice-factorizations of n with no repeated factorizations.

Original entry on oeis.org

1, 1, 1, 2, 1, 3, 1, 5, 2, 3, 1, 8, 1, 3, 3, 10, 1, 8, 1, 8, 3, 3, 1, 20, 2, 3, 5, 8, 1, 12, 1, 20, 3, 3, 3, 25, 1, 3, 3, 20, 1, 12, 1, 8, 8, 3, 1, 47, 2, 8, 3, 8, 1, 20, 3, 20, 3, 3, 1, 38, 1, 3, 8, 40, 3, 12, 1, 8, 3, 12, 1, 68, 1, 3, 8, 8, 3, 12, 1, 47, 10
Offset: 1

Views

Author

Gus Wiseman, Dec 05 2017

Keywords

Comments

From Robert G. Wilson v, Dec 05 2017: (Start)
a(n) = 1 iff n equals 1 or is a prime;
a(n) = 2 iff n is a prime squared;
a(n) = 3 iff n is a squarefree semiprime;
a(n) = 5 iff n is a prime cube;
a(n) = 8 iff n is of the form p^2*q, etc.
(End)

Examples

			The a(12) = 8 twice-factorizations:
(2)*(2*3), (3)*(2*2), (2*2*3),
(2)*(6), (2*6),
(3)*(4), (3*4),
(12).
		

Crossrefs

Programs

  • Mathematica
    facs[n_]:=If[n<=1,{{}},Join@@Table[Map[Prepend[#,d]&,Select[facs[n/d],Min@@#>=d&]],{d,Rest[Divisors[n]]}]];
    Table[Length[Join@@Table[Select[Tuples[facs/@p],UnsameQ@@#&],{p,facs[n]}]],{n,100}]

A050347 Number of ways to factor n into distinct factors with 2 levels of parentheses.

Original entry on oeis.org

1, 1, 1, 1, 1, 4, 1, 4, 1, 4, 1, 10, 1, 4, 4, 7, 1, 10, 1, 10, 4, 4, 1, 26, 1, 4, 4, 10, 1, 22, 1, 14, 4, 4, 4, 34, 1, 4, 4, 26, 1, 22, 1, 10, 10, 4, 1, 63, 1, 10, 4, 10, 1, 26, 4, 26, 4, 4, 1, 74, 1, 4, 10, 29, 4, 22, 1, 10, 4, 22, 1, 105, 1, 4, 10, 10, 4, 22, 1, 63, 7, 4, 1, 74, 4, 4, 4, 26
Offset: 1

Views

Author

Christian G. Bower, Oct 15 1999

Keywords

Comments

a(n) depends only on prime signature of n (cf. A025487). So a(24) = a(375) since 24 = 2^3*3 and 375 = 3*5^3 both have prime signature (3,1).

Examples

			6 = ((6)) = ((3*2)) = ((3)*(2)) = ((3))*((2)).
		

Crossrefs

Formula

Dirichlet g.f.: Product_{n>=2}(1+1/n^s)^A050345(n).
a(n) = A050348(A101296(n)). - R. J. Mathar, May 26 2017

A050349 Number of ways to factor n into distinct factors with 3 levels of parentheses.

Original entry on oeis.org

1, 1, 1, 1, 1, 5, 1, 5, 1, 5, 1, 15, 1, 5, 5, 11, 1, 15, 1, 15, 5, 5, 1, 45, 1, 5, 5, 15, 1, 35, 1, 25, 5, 5, 5, 65, 1, 5, 5, 45, 1, 35, 1, 15, 15, 5, 1, 130, 1, 15, 5, 15, 1, 45, 5, 45, 5, 5, 1, 145, 1, 5, 15, 60, 5, 35, 1, 15, 5, 35, 1, 240, 1, 5, 15, 15, 5, 35, 1, 130, 11, 5, 1, 145, 5
Offset: 1

Views

Author

Christian G. Bower, Oct 15 1999

Keywords

Comments

a(n) depends only on prime signature of n (cf. A025487). So a(24) = a(375) since 24 = 2^3*3 and 375 = 3*5^3 both have prime signature (3,1).

Examples

			6 = (((6))) = (((3*2))) = (((3)*(2))) = (((3))*((2))) = (((3)))*(((2))).
		

Crossrefs

Formula

Dirichlet g.f.: Product_{n>=2}(1+1/n^s)^A050347(n).
a(n) = A050350(A101296(n)). - R. J. Mathar, May 26 2017
Showing 1-10 of 12 results. Next