Search: a134295 -id:a134295
|
|
A134296
|
|
Quotients A134295(p)/p = (1/p) * Sum_{k=1..p} ((p-k)!*(k-1)! - (-1)^k), where p = prime(n).
|
|
+20
1
|
|
|
1, 2, 13, 259, 750371, 81566917, 2642791002353, 716984262871579, 102688143363690674087, 21841112114495269555043222069, 17727866746681961093761724283871
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
A134295(n) = Sum_{k=1..n} ((n-k)!*(k-1)! - (-1)^k) = {2, 2, 6, 16, 65, 312, 1813, 12288, 95617, 840960, 8254081, ...}. According to the Generalized Wilson-Lagrange Theorem, a prime p divides (p-k)!*(k-1)! - (-1)^k for all integers k > 0. a(n) = A134295(p)/p for p = prime(n). a(n) is prime for n = {2, 3, 7, 9, 37, ...}. Corresponding prime terms in a(n) are {2, 13, 2642791002353, 102688143363690674087, ...}.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (1/p) * Sum_{k=1..p} ((p-k)!*(k-1)! - (-1)^k) where p = prime(n).
|
|
MATHEMATICA
|
Table[ (Sum[ (Prime[n]-k)!*(k-1)! - (-1)^k, {k, 1, Prime[n]} ]) / Prime[n], {n, 1, 20} ]
|
|
CROSSREFS
|
Cf. A134295 (Sum_{k=1..n} ((n-k)!*(k-1)! - (-1)^k)).
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
Search completed in 0.007 seconds
|