OFFSET
1,2
COMMENTS
Alternative name: 1 and numbers whose smallest prime index does not divide all the other prime indices, nor whose greatest prime index is divisible by all the other prime indices.
First differs from A302697 in having 91.
First differs from A337987 in having 91.
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 partitions with greatest part not divisible by all the others and smallest part not dividing all the others (counted by A343342). 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.
EXAMPLE
The sequence of terms together with their prime indices begins:
1: {} 105: {2,3,4} 203: {4,10}
15: {2,3} 119: {4,7} 205: {3,13}
33: {2,5} 123: {2,13} 207: {2,2,9}
35: {3,4} 135: {2,2,2,3} 209: {5,8}
45: {2,2,3} 141: {2,15} 215: {3,14}
51: {2,7} 143: {5,6} 217: {4,11}
55: {3,5} 145: {3,10} 219: {2,21}
69: {2,9} 153: {2,2,7} 221: {6,7}
75: {2,3,3} 155: {3,11} 225: {2,2,3,3}
77: {4,5} 161: {4,9} 231: {2,4,5}
85: {3,7} 165: {2,3,5} 245: {3,4,4}
91: {4,6} 175: {3,3,4} 247: {6,8}
93: {2,11} 177: {2,17} 249: {2,23}
95: {3,8} 187: {5,7} 253: {5,9}
99: {2,2,5} 201: {2,19} 255: {2,3,7}
For example, the prime indices of 975 are {2,3,3,6}, all of which divide 6, but not all of which are multiples of 2, so 975 is not in the sequence.
MATHEMATICA
Select[Range[100], #==1||With[{p=PrimePi/@First/@FactorInteger[#]}, !And@@IntegerQ/@(Max@@p/p)&&!And@@IntegerQ/@(p/Min@@p)]&]
CROSSREFS
The first condition alone gives A342193.
The second condition alone gives A343337.
The partitions with these Heinz numbers are counted by A343342.
The opposite version is the complement of A343343.
A000005 counts divisors.
A000070 counts partitions with a selected part.
A001055 counts factorizations.
A067824 counts strict chains of divisors starting with n.
A253249 counts strict chains of divisors.
A339564 counts factorizations with a selected factor.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Apr 13 2021
STATUS
approved