login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A202706 Numbers n such that (sum of digits of n!) / 9 is prime. 0
9, 10, 12, 13, 14, 15, 16, 17, 19, 21, 23, 30, 36, 37, 45, 52, 53, 54, 55, 56, 63, 67, 71, 78, 82, 84, 88, 89, 94, 98, 101, 106, 109, 110, 124, 126, 127, 131, 132, 137, 139, 141, 144, 146, 170, 175, 195, 199, 224, 255, 263, 267, 270, 271, 276, 277, 278, 281 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
If n >5, then (sum of digits of n!) / 9 is an integer (see A004152).
LINKS
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
Sequence in context: A048048 A136835 A031166 * A104627 A188057 A119956
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Dec 23 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 13:04 EDT 2024. Contains 371913 sequences. (Running on oeis4.)