|
| |
|
|
A066347
|
|
Numbers n such that the sum of digits of n!+1 is a prime.
|
|
1
| |
|
|
0, 1, 2, 3, 4, 11, 22, 25, 27, 29, 32, 38, 43, 51, 57, 62, 72, 74, 75, 77, 81, 83, 92, 102, 117, 118, 122, 128, 143, 148, 151, 152, 154, 165, 177, 186, 188, 191, 193, 196, 205, 209, 210, 213, 221, 227, 230, 234, 235, 247, 262, 274, 282, 298, 300, 301, 307, 310
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,3
|
|
|
LINKS
| Harry J. Smith, Table of n, a(n) for n=1,...,1000
|
|
|
PROG
| (PARI) SumD(x)= { local(s=0); while (x>9, s+=x%10; x\=10); return(s + x) } { n=0; for (m=0, 10^9, if (isprime(SumD(m! + 1)), write("b066347.txt", n++, " ", m); if (n==1000, return)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Feb 11 2010]
|
|
|
CROSSREFS
| Sequence in context: A002098 A162969 A104109 * A118596 A139763 A037396
Adjacent sequences: A066344 A066345 A066346 * A066348 A066349 A066350
|
|
|
KEYWORD
| base,nonn
|
|
|
AUTHOR
| Jason Earls (zevi_35711(AT)yahoo.com), Dec 19 2001
|
| |
|
|