OFFSET
1,1
COMMENTS
If n >5, then (sum of digits of n!) / 9 is an integer (see A004152).
FORMULA
n such that A004152(n)/9 prime.
EXAMPLE
10 is in the sequence because 10!= 3628800 and (3+6+2+8+8)/9 = 27/9 = 3 is prime.
MATHEMATICA
lst={}; Do[If[PrimeQ[Sum[DigitCount[n!][[i]]*i/9, {i, 1, 9}]], AppendTo[lst, n]], {n, 300}]; lst
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Dec 23 2011
STATUS
approved