A331995
Numbers with at most one distinct prime prime index.
Original entry on oeis.org
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 32, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50, 52, 53, 54, 56, 57, 58, 59, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 76
Offset: 1
The sequence of terms together with their prime indices begins:
1: {} 22: {1,5} 44: {1,1,5}
2: {1} 23: {9} 46: {1,9}
3: {2} 24: {1,1,1,2} 47: {15}
4: {1,1} 25: {3,3} 48: {1,1,1,1,2}
5: {3} 26: {1,6} 49: {4,4}
6: {1,2} 27: {2,2,2} 50: {1,3,3}
7: {4} 28: {1,1,4} 52: {1,1,6}
8: {1,1,1} 29: {10} 53: {16}
9: {2,2} 31: {11} 54: {1,2,2,2}
10: {1,3} 32: {1,1,1,1,1} 56: {1,1,1,4}
11: {5} 34: {1,7} 57: {2,8}
12: {1,1,2} 35: {3,4} 58: {1,10}
13: {6} 36: {1,1,2,2} 59: {17}
14: {1,4} 37: {12} 61: {18}
16: {1,1,1,1} 38: {1,8} 62: {1,11}
17: {7} 39: {2,6} 63: {2,2,4}
18: {1,2,2} 40: {1,1,1,3} 64: {1,1,1,1,1,1}
19: {8} 41: {13} 65: {3,6}
20: {1,1,3} 42: {1,2,4} 67: {19}
21: {2,4} 43: {14} 68: {1,1,7}
These are numbers n such that
A279952(n) <= 1.
Numbers whose prime indices are not all prime are
A330945.
Numbers with at least one prime prime index are
A331386.
The set S of numbers with at most one prime index in S are
A331784.
The set S of numbers with at most one distinct prime index in S are
A331912.
Numbers with at most one prime prime index are
A331914.
Numbers with exactly one prime prime index are
A331915.
Numbers with exactly one distinct prime prime index are
A331916.
Cf.
A000040,
A000720,
A001221,
A007097,
A007821,
A112798,
A257994,
A320628,
A330944,
A331785,
A331912,
A331913.
A379313
Positive integers whose prime indices are not all composite.
Original entry on oeis.org
2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 20, 21, 22, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35, 36, 38, 39, 40, 41, 42, 44, 45, 46, 48, 50, 51, 52, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 70, 72, 74, 75, 76, 77, 78, 80, 81, 82
Offset: 1
The terms together with their prime indices begin:
2: {1}
3: {2}
4: {1,1}
5: {3}
6: {1,2}
8: {1,1,1}
9: {2,2}
10: {1,3}
11: {5}
12: {1,1,2}
14: {1,4}
15: {2,3}
16: {1,1,1,1}
17: {7}
18: {1,2,2}
20: {1,1,3}
21: {2,4}
22: {1,5}
24: {1,1,1,2}
The "old" primes are listed by
A008578.
A080339 is the characteristic function for the old prime numbers.
Other counts of prime indices:
-
prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];
Select[Range[100],!And@@CompositeQ/@prix[#]&]
A335403
If n = Product_{i=1..k} p_i^e_i then a(n) = Sum_{i=1..k} e_i * prime(p_i).
Original entry on oeis.org
0, 3, 5, 6, 11, 8, 17, 9, 10, 14, 31, 11, 41, 20, 16, 12, 59, 13, 67, 17, 22, 34, 83, 14, 22, 44, 15, 23, 109, 19, 127, 15, 36, 62, 28, 16, 157, 70, 46, 20, 179, 25, 191, 37, 21, 86, 211, 17, 34, 25, 64, 47, 241, 18, 42, 26, 72, 112, 277, 22, 283, 130, 27, 18
Offset: 1
The prime factors of 18 are 2 * 3 * 3, so a(18) = prime(2) + prime(3) + prime(3) = 13.
Partitions into prime parts are
A000607.
The multiplicative version is
A064988.
Products of primes of prime index are
A076610.
Numbers whose prime indices are not all prime are
A330945.
Cf.
A000040,
A000720,
A001222,
A003961,
A003963,
A007097,
A112798,
A178503,
A257994,
A302242,
A324851,
A331915.
-
Table[Total[Cases[FactorInteger[n],{p_,k_}:>k*Prime[p]]],{n,30}]
-
a(n) = my(f=factor(n)); sum(k=1, #f~, prime(f[k,1])*f[k,2]); \\ Michel Marcus, Jun 07 2020
Comments