OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1) = 4*6 = 24 and a(2) = 6*9 = 54 because 4, 6 and 9 are the first three successive semiprimes.
MATHEMATICA
Select[Times@@@Partition[Select[Range[200], PrimeOmega[#]==2&], 2, 1], PrimeOmega[#]==4&] (* Harvey P. Dale, Nov 17 2011 *)
PROG
(PARI) sp=4; for(sq=6, 300, if(bigomega(sq)==2, print1(sp*sq, ", "); sp=sq)) \\ Rick L. Shepherd
(PARI) list(lim)=my(v=List(), s=sqrtint(lim\1), u=v); forprime(p=2, s\2, forprime(q=2, min(p, s\p), listput(v, p*q))); v=Set(v); for(i=2, #v, listput(u, v[i-1]*v[i])); for(k=s+1, lim\v[#v], if(bigomega(k)==2, listput(u, v[#v]*k); break)); Set(u) \\ Charles R Greathouse IV, Feb 02 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Jun 16 2005
EXTENSIONS
More terms from Rick L. Shepherd, Jun 16 2005
STATUS
approved