A338905
Irregular triangle read by rows where row n lists all squarefree semiprimes with prime indices summing to n.
Original entry on oeis.org
6, 10, 14, 15, 21, 22, 26, 33, 35, 34, 39, 55, 38, 51, 65, 77, 46, 57, 85, 91, 58, 69, 95, 119, 143, 62, 87, 115, 133, 187, 74, 93, 145, 161, 209, 221, 82, 111, 155, 203, 247, 253, 86, 123, 185, 217, 299, 319, 323, 94, 129, 205, 259, 341, 377, 391, 106, 141
Offset: 3
Triangle begins:
6
10
14 15
21 22
26 33 35
34 39 55
38 51 65 77
46 57 85 91
58 69 95 119 143
62 87 115 133 187
74 93 145 161 209 221
82 111 155 203 247 253
86 123 185 217 299 319 323
A004526 (shifted right) gives row lengths.
A025129 (shifted right) gives row sums.
A056239 gives sum of prime indices (Heinz weight).
A339116 is a different triangle whose diagonals are these rows.
A338904 is the not necessarily squarefree version, with row sums
A024697.
A087112 groups semiprimes by greater factor.
A168472 gives partial sums of squarefree semiprimes.
Cf.
A000040,
A001221,
A014342,
A098350,
A112798,
A320656,
A338901,
A338906,
A339003,
A339004,
A339005,
A339115.
-
Table[Sort[Table[Prime[k]*Prime[n-k],{k,(n-1)/2}]],{n,3,10}]
A339115
Greatest semiprime whose prime indices sum to n.
Original entry on oeis.org
4, 6, 10, 15, 25, 35, 55, 77, 121, 143, 187, 221, 289, 323, 391, 493, 551, 667, 841, 899, 1073, 1189, 1369, 1517, 1681, 1763, 1961, 2183, 2419, 2537, 2809, 3127, 3481, 3599, 3953, 4189, 4489, 4757, 5041, 5293, 5723, 5963, 6499, 6887, 7171, 7663, 8051, 8633
Offset: 2
The sequence of terms together with their prime indices begins:
4: {1,1} 493: {7,10} 2809: {16,16}
6: {1,2} 551: {8,10} 3127: {16,17}
10: {1,3} 667: {9,10} 3481: {17,17}
15: {2,3} 841: {10,10} 3599: {17,18}
25: {3,3} 899: {10,11} 3953: {17,19}
35: {3,4} 1073: {10,12} 4189: {17,20}
55: {3,5} 1189: {10,13} 4489: {19,19}
77: {4,5} 1369: {12,12} 4757: {19,20}
121: {5,5} 1517: {12,13} 5041: {20,20}
143: {5,6} 1681: {13,13} 5293: {19,22}
187: {5,7} 1763: {13,14} 5723: {17,25}
221: {6,7} 1961: {12,16} 5963: {19,24}
289: {7,7} 2183: {12,17} 6499: {19,25}
323: {7,8} 2419: {13,17} 6887: {20,25}
391: {7,9} 2537: {14,17} 7171: {20,26}
A024697 is the sum of the same semiprimes.
A338904 has this sequence as row maxima.
A339114 is the least among the same semiprimes.
A037143 lists primes and semiprimes.
A087112 groups semiprimes by greater factor.
A320655 counts factorizations into semiprimes.
Cf.
A000040,
A001221,
A001222,
A014342,
A025129,
A056239,
A062198,
A098350,
A112798,
A338905,
A339116.
-
P:= [seq(ithprime(i),i=1..200)]:
[seq(max(seq(P[i]*P[j-i],i=1..j-1)),j=2..200)]; # Robert Israel, Dec 06 2020
-
Table[Max@@Table[Prime[k]*Prime[n-k],{k,n-1}],{n,2,30}]
A338908
Squarefree semiprimes whose prime indices sum to an even number.
Original entry on oeis.org
10, 21, 22, 34, 39, 46, 55, 57, 62, 82, 85, 87, 91, 94, 111, 115, 118, 129, 133, 134, 146, 155, 159, 166, 183, 187, 194, 203, 205, 206, 213, 218, 235, 237, 247, 253, 254, 259, 267, 274, 295, 298, 301, 303, 314, 321, 334, 335, 339, 341, 358, 365, 371, 377, 382
Offset: 1
The sequence of terms together with their prime indices begins:
10: {1,3} 115: {3,9} 213: {2,20}
21: {2,4} 118: {1,17} 218: {1,29}
22: {1,5} 129: {2,14} 235: {3,15}
34: {1,7} 133: {4,8} 237: {2,22}
39: {2,6} 134: {1,19} 247: {6,8}
46: {1,9} 146: {1,21} 253: {5,9}
55: {3,5} 155: {3,11} 254: {1,31}
57: {2,8} 159: {2,16} 259: {4,12}
62: {1,11} 166: {1,23} 267: {2,24}
82: {1,13} 183: {2,18} 274: {1,33}
85: {3,7} 187: {5,7} 295: {3,17}
87: {2,10} 194: {1,25} 298: {1,35}
91: {4,6} 203: {4,10} 301: {4,14}
94: {1,15} 205: {3,13} 303: {2,26}
111: {2,12} 206: {1,27} 314: {1,37}
A031215 looks at primes instead of semiprimes.
A300061 and
A319241 (squarefree) look all numbers (not just semiprimes).
A338905 has this as union of even-indexed rows.
A338906 is the nonsquarefree version.
A024697 is the sum of semiprimes of weight n.
A025129 is the sum of squarefree semiprimes of weight n.
A056239 gives the sum of prime indices of n.
A320656 counts factorizations into squarefree semiprimes.
A332765 gives the greatest squarefree semiprime of weight n.
A338904 groups semiprimes by weight.
A338911 lists products of pairs of primes both of even index.
A339116 groups squarefree semiprimes by greater prime factor.
Cf.
A000040,
A001221,
A001222,
A087112,
A098350,
A112798,
A168472,
A338901,
A338904,
A339004,
A339005.
A339194
Sum of all squarefree semiprimes with greater prime factor prime(n).
Original entry on oeis.org
0, 6, 25, 70, 187, 364, 697, 1102, 1771, 2900, 3999, 5920, 8077, 10234, 13207, 17384, 22479, 26840, 33567, 40328, 46647, 56248, 65653, 77786, 93411, 107060, 119583, 135248, 149439, 167240, 202311, 225320, 253587, 276332, 316923, 343676, 381039, 421192, 458749
Offset: 1
The triangle A339116 with row sums equal to this sequence begins (n > 1):
6 = 6
25 = 10 + 15
70 = 14 + 21 + 35
187 = 22 + 33 + 55 + 77
A025129 gives sums of squarefree semiprimes by weight, row sums of
A338905.
A143215 is the not necessarily squarefree version, row sums of
A087112.
A339116 is a triangle of squarefree semiprimes with these row sums.
A024697 is the sum of semiprimes of weight n.
A168472 gives partial sums of squarefree semiprimes.
A332765 gives the greatest squarefree semiprime of weight n.
A338904 groups semiprimes by weight.
-
Table[Sum[Prime[i]*Prime[j],{j,i-1}],{i,10}]
-
a(n) = prime(n)*vecsum(primes(n-1)); \\ Michel Marcus, Jun 15 2024
A143215
a(n) = prime(n) * Sum_{i=1..n} prime(i).
Original entry on oeis.org
4, 15, 50, 119, 308, 533, 986, 1463, 2300, 3741, 4960, 7289, 9758, 12083, 15416, 20193, 25960, 30561, 38056, 45369, 51976, 62489, 72542, 85707, 102820, 117261, 130192, 146697, 161320, 180009, 218440, 242481, 272356, 295653, 339124, 366477
Offset: 1
The series begins (4, 15, 50, 119, 308,...) since the primes = (2, 3, 5, 7, 11,...) and partial sum of primes = (2, 5, 10, 17, 28,...).
a(5) = 308 = 11 * 28.
a(4) = 119 = sum of row 4 terms of triangle A087112: (14 + 21 + 35 + 49).
Squarefree semiprimes grouped by weight are
A338905, with row sums
A025129.
Squarefree numbers grouped by greatest prime factor are
A339195, with row sums
A339360.
A006881 lists squarefree semiprimes.
A332765 is the greatest semiprime of weight n.
Cf.
A000040,
A001222,
A001748,
A007504,
A014342,
A098350,
A100484,
A168472,
A319613,
A339003,
A339114/
A339115.
-
a143215 n = a000040 n * a007504 n -- Reinhard Zumkeller, Nov 25 2012
-
A143215:= func< n | NthPrime(n)*(&+[NthPrime(j): j in [1..n]]) >;
[A143215(n): n in [1..50]]; // G. C. Greubel, Aug 27 2024
-
A143215:=n->ithprime(n)*sum(ithprime(i), i=1..n); seq(A143215(n), n=1..50); # Wesley Ivan Hurt, Mar 26 2014
-
Table[Prime[n]*Sum[Prime[i], {i, n}], {n, 50}] (* Wesley Ivan Hurt, Mar 26 2014 *)
-
a(n) = prime(n)*vecsum(primes(n)); \\ Michel Marcus, Jun 15 2024
-
def A143215(n): return nth_prime(n)*sum(nth_prime(j) for j in range(1,n+1))
[A143215(n) for n in range(1,51)] # G. C. Greubel, Aug 27 2024
A145518
Triangle read by rows: T1[n,k;x] := Sum_{partitions with k parts p(n, k; m_1, m_2, m_3, ..., m_n)} x_1^m_1 * x_2^m_2 * ... x^n*m_n, for x_i = A000040(i).
Original entry on oeis.org
2, 3, 4, 5, 6, 8, 7, 19, 12, 16, 11, 29, 38, 24, 32, 13, 68, 85, 76, 48, 64, 17, 94, 181, 170, 152, 96, 128, 19, 177, 326, 443, 340, 304, 192, 256, 23, 231, 683, 787, 886, 680, 608, 384, 512, 29, 400, 1066, 1780, 1817, 1772, 1360, 1216, 768, 1024, 31, 484, 1899, 3119
Offset: 1
Triangle starts:
2;
3, 4;
5, 6, 8;
7, 19, 12, 16;
11, 29, 38, 24, 32;
13, 68, 85, 76, 48, 64;
...
-
g:= proc(n, i) option remember; `if`(n=0 or i=1, (2*x)^n,
expand(add(g(n-i*j, i-1)*(ithprime(i)*x)^j, j=0..n/i)))
end:
T:= n-> (p-> seq(coeff(p, x, i), i=1..n))(g(n$2)):
seq(T(n), n=1..12); # Alois P. Heinz, May 25 2015
-
g[n_, i_] := g[n, i] = If[n==0 || i==1, (2 x)^n, Expand[Sum[g[n-i*j, i-1]*(Prime[i]*x)^j, {j, 0, n/i}]]]; T[n_] := Function[{p}, Table[Coefficient[p, x, i], {i, 1, n}]][g[n, n]]; Table[T[n], {n, 1, 12}] // Flatten (* Jean-François Alcover, Jul 15 2015, after Alois P. Heinz *)
Reference to more terms etc. changed to make it version independent by
Tilman Neumann, Sep 02 2009
A347047
Smallest squarefree semiprime whose prime indices sum to n.
Original entry on oeis.org
6, 10, 14, 21, 26, 34, 38, 46, 58, 62, 74, 82, 86, 94, 106, 118, 122, 134, 142, 146, 158, 166, 178, 194, 202, 206, 214, 218, 226, 254, 262, 274, 278, 298, 302, 314, 326, 334, 346, 358, 362, 382, 386, 394, 398, 422, 446, 454, 458, 466, 478, 482, 502, 514, 526
Offset: 3
The initial terms and their prime indices:
6: {1,2}
10: {1,3}
14: {1,4}
21: {2,4}
26: {1,6}
34: {1,7}
38: {1,8}
46: {1,9}
The opposite version (greatest instead of smallest) is
A332765.
These are the minima of rows of
A338905.
A246868 gives the greatest squarefree number whose prime indices sum to n.
A339362 adds up prime indices of squarefree semiprimes.
Cf.
A001221,
A087112,
A089994,
A098350,
A176504,
A338900,
A338901,
A338904,
A338907/
A338908,
A339005,
A339191.
-
Table[Min@@Select[Table[Times@@Prime/@y,{y,IntegerPartitions[n,{2}]}],SquareFreeQ],{n,3,50}]
-
from sympy import prime, sieve
def a(n):
p = [0] + list(sieve.primerange(1, prime(n)+1))
return min(p[i]*p[n-i] for i in range(1, (n+1)//2))
print([a(n) for n in range(3, 58)]) # Michael S. Branicky, Sep 05 2021
Comments