OFFSET
1,1
COMMENTS
a(n) = a(n-1) if A001358(n) is the product of two distinct odd primes. - Robert Israel, Feb 05 2020
LINKS
Robert Israel, Table of n, a(n) for n = 1..1266
FORMULA
a(n) = lcm_{i=1..n} A001358(i).
EXAMPLE
a(1) = 4, the first semiprime. a(2) = lcm(4,6) = 12. a(3) = lcm(4,6,9) = 36.
MAPLE
N:= 10^3: # to use semiprimes <= N
SP:= select(t -> numtheory:-bigomega(t)=2, [$4..N]):
A[1]:= SP[1]:
for n from 2 to N do
A[n]:= ilcm(A[n-1], SP[n])
od:
seq(A[i], i=1..N); # Robert Israel, Feb 05 2020
MATHEMATICA
With[{s=Select[Range[100], PrimeOmega[#]==2&]}, Table[LCM@@Take[s, n], {n, Length[s]}]] (* Harvey P. Dale, May 05 2015 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Aug 28 2009
EXTENSIONS
More terms from Zak Seidov, Aug 31 2009
STATUS
approved