1, 0, 2, 0, 3, 4, 0, 5, 6, 8, 0, 7, 9, 12, 16, 0, 11, 10, 18, 24, 32, 0, 13, 14, 20, 36, 48, 64, 0, 17, 15, 27, 40, 72, 96, 128, 0, 19, 21, 28, 54, 80, 144, 192, 256, 0, 23, 22, 30, 56, 108, 160, 288, 384, 512, 0, 29, 25, 42, 60, 112, 216, 320, 576, 768, 1024
Offset: 0
A125149
a(n) is the least k such that the n-almost prime count is positive and equal to the (n-1)-almost prime count. a(0) = 1.
Original entry on oeis.org
1, 2, 10, 15495, 151165506066
Offset: 0
a(1) = 2 since 1 has no prime factors and 2 has one prime factor, therefore prime factor counts of 0 and 1 occur equally often in the first 2 integers.
a(2) = 10 since there are 4 primes {2, 3, 5 & 7} and 4 semiprimes {4, 6, 9 & 10} less than or equal to 10.
a(4) = 151165506066 since there are 32437255807 4-almost primes and 3-almost primes <= a(4).
Sequences listing r-almost primes, that is, k such that
A001222(k) = r:
A000040 (r = 1),
A001358 (r = 2),
A014612 (r = 3),
A014613 (r = 4),
A014614 (r = 5),
A046306 (r = 6),
A046308 (r = 7),
A046310 (r = 8),
A046312 (r = 9),
A046314 (r = 10),
A069272 (r = 11),
A069273 (r = 12),
A069274 (r = 13),
A069275 (r = 14),
A069276 (r = 15),
A069277 (r = 16),
A069278 (r = 17),
A069279 (r = 18),
A069280 (r = 19),
A069281 (r = 20).
-
AlmostPrimePi[k_Integer, n_] := Module[{a, i}, a[0] = 1; If[k == 1, PrimePi[n], Sum[PrimePi[n/Times @@ Prime[Array[a, k - 1]]] - a[k - 1] + 1, Evaluate[ Sequence @@ Table[{a[i], a[i - 1], PrimePi[(n/Times @@ Prime[Array[a, i - 1]])^(1/(k - i + 1))]}, {i, k - 1}]]]]]; (* Eric W. Weisstein, Feb 07 2006 *)
f[n_] := Block[{k = 2^n}, While[AlmostPrimePi[n, k] < AlmostPrimePi[n - 1, k], k++ ]; k];
Changed 33 to 34 in a comment. -
T. D. Noe, Aug 11 2010
A101696
a(n) = sum(i=1,n)(i-th i-almost prime). Cumulative sums of A101695.
Original entry on oeis.org
2, 8, 26, 66, 174, 398, 878, 2174, 4862, 10494, 22014, 45054, 98302, 222718, 480766, 1021438, 2127358, 4355582, 8943102, 18773502, 38696446, 79590910, 175142398, 368080382, 764442110, 1586525694, 3247470078, 6644856318, 13489960446
Offset: 1
a(1) = first 1-almost prime = first prime = A000040(1) = 2.
a(2) = 2 + 2nd 2-almost prime = 2 + A001358(2) = 2+ 6 = 8.
a(3) = a(2) + 3rd 3-almost prime = 8+A014612(3) = 8+18 = 26.
a(4) = a(3) + 4th 4-almost prime = 26+A014613(4) = 26+40 = 66.
a(5) = a(4) + 5th 5-almost prime = 66+A014614(5) = 66+108=174.
...
a(12) = a(11) + 12th 12-almost prime = 22014 + 23040 = 45054 (the first nontrivial palindrome in the sequence).
Cf.
A000040,
A001358,
A014612,
A014613,
A046314,
A046306,
A046308,
A046310,
A046312,
A046314,
A069272,
A069273,
A069274,
A069275,
A069276,
A069277,
A069278,
A069279,
A069280,
A069281,
A101637,
A101638,
A101605,
A101606,
A101695.
A114989
Numbers whose sum of squares of distinct prime factors is prime.
Original entry on oeis.org
6, 10, 12, 14, 18, 20, 24, 26, 28, 34, 36, 40, 48, 50, 52, 54, 56, 68, 72, 74, 80, 94, 96, 98, 100, 104, 105, 108, 112, 134, 136, 144, 146, 148, 160, 162, 188, 192, 194, 196, 200, 206, 208, 216, 224, 231, 250, 268, 272, 273, 274, 288, 292, 296, 315, 320, 324, 326
Offset: 1
a(1) = 6 because 6 = 2 * 3 and 2^2 + 3^2 = 13 is prime.
a(2) = 10 because 10 = 2 * 5 and 2^2 + 5^2 = 29 is prime.
a(3) = 12 because 12 = 2^2 * 3 and 2^2 + 3^2 = 13 is prime (note that we are not counting the prime factors with multiplicity).
a(4) = 14 because 14 = 2 * 7 and 2^2 + 7^2 = 53 is prime.
a(8) = 26 because 26 = 2 * 3 and 2^2 + 13^2 = 173 is prime.
a(10) = 34 because 34 = 2 * 17 and 2^2 + 17^2 = 293 is prime.
-
with(numtheory): a:=proc(n) local DPF: DPF:=factorset(n): if isprime(sum(DPF[j]^2,j=1..nops(DPF)))=true then n else fi end: seq(a(n),n=1..400); # Emeric Deutsch, Mar 07 2006
-
Select[Range[400],PrimeQ[Total[Transpose[FactorInteger[#]][[1]]^2]]&] (* Harvey P. Dale, Jan 16 2016 *)
-
is(n)=isprime(norml2(factor(n)[,1]))
A337112
Smallest term of A337081 that has exactly n prime factors, or 0 if no such term exists.
Original entry on oeis.org
0, 4, 0, 90, 675, 1134, 6318, 4374, 32805, 255879, 1003833, 531441, 327544803, 20751953125, 225830078125, 91552734375, 1068115234375, 23651123046875, 316619873046875, 1697540283203125, 13256072998046875, 85353851318359375, 541210174560546875, 4518032073974609375, 58233737945556640625
Offset: 1
Cf.
A056472 (all factorizations of n).
Cf. r-almost primes:
A000040 (r = 1),
A001358 (r = 2),
A014612 (r = 3),
A014613 (r = 4),
A014614 (r = 5),
A046306 (r = 6),
A046308 (r = 7),
A046310 (r = 8),
A046312 (r = 9),
A046314 (r = 10),
A069272 (r = 11),
A069273 (r = 12),
A069274 (r = 13),
A069275 (r = 14),
A069276 (r = 15),
A069277 (r = 16),
A069278 (r = 17),
A069279 (r = 18),
A069280 (r = 19),
A069281 (r = 20).
A114987
Numbers with a 3-almost prime number of prime divisors (counted with multiplicity).
Original entry on oeis.org
256, 384, 576, 640, 864, 896, 960, 1296, 1344, 1408, 1440, 1600, 1664, 1944, 2016, 2112, 2160, 2176, 2240, 2400, 2432, 2496, 2916, 2944, 3024, 3136, 3168, 3240, 3264, 3360, 3520, 3600, 3648, 3712, 3744, 3968, 4000, 4096, 4160, 4374, 4416, 4536, 4704
Offset: 1
a(1) = 256 because 256 = 2^8, which has a 3-almost prime (8) number of prime factors with multiplicity.
a(38) = 4096 because 4096 = 2^12, which has a 3-almost prime (12) number of prime factors with multiplicity.
Original entry on oeis.org
2, 12, 216, 8640, 933120, 209018880, 100329062400, 130026464870400, 349511137571635200, 1968446726803449446400, 22676506292775737622528000, 522466704985552994823045120000, 27820307107070725868337506549760000
Offset: 1
a(1) = 2 = prime(1).
a(2) = 12 = 2 * 6 = prime(1) * semiprime(2) = 2^2 * 3.
a(3) = 216 = 2 * 6 * 18 = prime(1) * semiprime(2) * 3-almostprime(3) = 2^3 * 3^3.
a(4) = 8640 = 2 * 6 * 18 * 40 = prime(1) * semiprime(2) * 3-almostprime(3) * 4-almostprime(4) = 2^6 * 3^3 * 5.
a(15) = 893179304874387947794472921245209518407680000 = 2 * 6 * 18 * 40 * 108 * 224 * 480 * 1296 * 2688 * 5632 * 11520 * 23040 * 53248 * 124416 * 258048 = 2^88 * 3^23 * 5^4 * 7^3 * 11 * 13.
Cf.
A000040,
A001358,
A014612,
A014613,
A046314,
A046306,
A046308,
A046310,
A046312,
A046314,
A069272,
A069273,
A069274,
A069275,
A069276,
A069277,
A069278,
A069279,
A069280,
A069281,
A101637,
A101638,
A101605,
A101606,
A101695.
A321590
Smallest number m that is a product of exactly n primes and is such that m-1 and m+1 are products of exactly n-1 primes.
Original entry on oeis.org
4, 50, 189, 1863, 10449, 447849, 4449249, 5745249, 3606422049, 16554218751, 105265530369, 1957645712385
Offset: 2
For n = 3, 50 = 2*5*5, and the numbers before and after 50 are 49 = 7*7 and 51 = 3*17.
Sequences listing r-almost primes, that is, the n such that
A001222(n) = r:
A000040 (r = 1),
A001358 (r = 2),
A014612 (r = 3),
A014613 (r = 4),
A014614 (r = 5),
A046306 (r = 6),
A046308 (r = 7),
A046310 (r = 8),
A046312 (r = 9),
A046314 (r = 10),
A069272 (r = 11),
A069273 (r = 12),
A069274 (r = 13),
A069275(r = 14),
A069276 (r = 15),
A069277 (r = 16),
A069278 (r = 17),
A069279 (r = 18),
A069280 (r = 19),
A069281 (r = 20).
-
a[n_] := Module[{o={0,0,0}, k=1}, While[o!={n-1,n,n-1}, o=Rest[AppendTo[o,PrimeOmega[k]]]; k++]; k-2]; Array[a,7,2] (* Amiram Eldar, Nov 14 2018 *)
-
{for(n=2,10,for(k=2^n,10^12,if(n==bigomega(k) &&
n-1==bigomega(k-1) && n-1==bigomega(k+1),print1(k", ");break())))}
Comments