As of time of submission to the sandbox, I had 17017 reputation, which you will all be able to factorise as 7×11×13×17, a product of 4 consecutive primes.
Please write a function or program to output all the products of two or more consecutive primes up to an input integer n
. For example, given n=143
you should output 6, 15, 30, 35, 77, 105, 143
(or equivalent output format).
Normal restrictions on I/O and loopholes apply.
This is code-golf, so the shortest program wins.