OFFSET
1,1
COMMENTS
A subsequence of A157941.
EXAMPLE
For numbers less than 4 the definition does not make sense, since there's no prime < 2=sqrt(4).
a(1)=8 which is divisible by 2 = precprime(sqrt(8)) and neither a prime squared (as would be 4 and 9) nor product of consecutive primes.
5 and 7 are not in this sequence, since not a multiple of 2=precprime(sqrt(5)) =precprime(sqrt(7)).
6 is not in the sequence, since it is the product of 2=precprime(sqrt(6)) and the following prime, 3. For the same reason, 15 is excluded.
PROG
(PARI) for( n=5, 1999, n % precprime(sqrtint(n)) & next; n % nextprime(sqrtint(n-1)+1) & print1(n", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Mar 10 2009
STATUS
approved