OFFSET
1,2
COMMENTS
Equally: Numbers n for which {the number of the trailing zeros in their factorial base representation A007623(n)} + 2 is a prime.
The sequence can be described in the following manner: Sequence includes all multiples of 1! and 2! (odd and even numbers), except that it excludes from those the multiples of 3! (6), except that it includes the multiples of 4! (24), except that it excludes the multiples of 5! (120), except that it includes the multiples of 6! (720), except that it excludes the multiples of 7! (5040) (and also those of 8! and 9!) because here 8+1 = 9 is the first odd composite), except that it includes the multiples of 10!, but excludes the multiples of 11!, but includes the multiples of 12!, but excludes the multiples of 13! (and also of 14! and 15!, because 14-16 are all composites), but includes the multiples of 16!, and so on, ad infinitum.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..8748
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 01 2013
STATUS
approved