OFFSET
1,2
COMMENTS
A k-almost prime has exactly k prime factors, repetitions included.
Conjecture: Each sequence b_n repeats indefinitely. (Example: for n=3, b_n = 9, 8, 8, 8, 8, 8, .... It looks like b_3(k) is 8 for all k > 1.)
The conjecture follows from the formula that uses A078843 below (and the strict monotonicity of A078843). However the first repeated value is not for every n the value that repeats indefinitely. For example a(8) = b_8(2) = b_8(3) = 66, but b_8(k) = 64 for k >= 4. - Peter Munn, Aug 05 2019
FORMULA
EXAMPLE
for k = 1, 2, 3, 4, 5, 6, ...:
p_k(3) = 5, 9, 18, 36, 72, 144, ... (the 3rd k-almost prime);
p_k(3)^2 = 25, 81, 324, 1296, 5184, 20736, ...;
b_3(k) = 9, 8, 8, 8, 8, 8, ... (index in the 2k-almost primes);
so since b_3(3) = b_3(2) = 8, a(3) = 8.
PROG
(PARI) get_p(m, k) = {local(i, n); i=0; n=1; while(i<k, n=n+1; if(bigomega(n)==m, i=i+1)); n}
get_k(m, p) = {local(i, n); i=0; n=1; while(n<p, n=n+1; if(bigomega(n)==m, i=i+1)); i};
A209934(n) = {local(m, k, k_old); m=3; k_old=get_k(2, get_p(1, n)^2); k=get_k(4, get_p(2, n)^2); while(k<k_old, k_old=k; k=get_k(2*m, get_p(m, n)^2); m=m+1); k} \\ Michael B. Porter, Mar 20 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Daniel Tisdale, Mar 15 2012
EXTENSIONS
Edited, correcting the subscripting, by Peter Munn, Aug 04 2019
STATUS
approved