OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
10 is in the sequence because 10! = 3628800 has 6 even digits, 1
odd digit and 7 total digits, yielding the prime 617.
MATHEMATICA
eotQ[n_]:=Module[{idnf=IntegerDigits[n!], len, ev, od}, len=Length[idnf]; ev= Count[ idnf, _?EvenQ]; od=Count[idnf, _?OddQ]; PrimeQ[FromDigits[ Flatten[ IntegerDigits/@ Join[{ev, od, len}]]]]]; Select[Range[1200], eotQ] (* Harvey P. Dale, Jul 05 2017 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Jason Earls, Jun 03 2005
STATUS
approved