|
|
A114846
|
|
Numbers of the form p^p - p!, where p is a prime.
|
|
1
|
|
|
2, 21, 3005, 818503, 285271753811, 302868879571453, 827239906198908668177, 1978419534015213180291979, 20880467973995895295470056270567, 2567686153152369372568088512776472510483469, 17069174130715013119956465106241589193164734431
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Except for the term 2, p^p - p! is equal to the sum of p distinct primes.
|
|
LINKS
|
|
|
MATHEMATICA
|
Table[p^p-p!, {p, Prime[Range[15]]}] (* Harvey P. Dale, Feb 03 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|