|
Search: id:A118686
|
|
|
| A118686 |
|
Triangle read by rows. Let g[n] = n if n is a prime, otherwise g[n] = 1. Let p[0] = 1; p[n] = g[n]*p[n - 1]. Row n gives coefficients of Product_{k=0..n} [x - p[k]], with row 0 = {1}. |
|
+0 4
|
|
| 1, 1, -1, 1, -2, 1, 1, -4, 5, -2, 1, -10, 29, -32, 12, 1, -16, 89, -206, 204, -72, 1, -46, 569, -2876, 6384, -6192, 2160, 1, -76, 1949, -19946, 92664, -197712, 187920, -64800, 1, -286, 17909, -429236, 4281324, -19657152, 41707440, -39528000, 13608000, 1, -496, 77969, -4190126, 94420884, -918735192
(list; table; graph; listen)
|
|
|
OFFSET
|
0,5
|
|
|
EXAMPLE
|
Triangle begins:
1
1, -1,
1, -2, 1
1, -4, 5, -2
1, -10, 29,-32, 12
1, -16, 89, -206, 204, -72
1, -46, 569, -2876, 6384, -6192, 2160
|
|
MATHEMATICA
|
g[n_] := If[PrimeQ[n] == True, n, 1] p[0] = 1; p[n_Integer?Positive] := p[n] = g[n]*p[n - 1] a = Join[{{1}}, Table[Reverse[CoefficientList[Product[x - p[n], {n, 0, m}], x]], {m, 0, 10}]] aout = Flatten[a]
|
|
CROSSREFS
|
Cf. primorial numbers A034386, Stirling numbers of the first kind A008275.
Cf. A034386, A008275, A119724.
Adjacent sequences: A118683 A118684 A118685 this_sequence A118687 A118688 A118689
Sequence in context: A122518 A129704 A057785 this_sequence A102610 A134172 A078047
|
|
KEYWORD
|
sign,tabl
|
|
AUTHOR
|
Roger Bagula (rlbagulatftn(AT)yahoo.com), May 20 2006
|
|
EXTENSIONS
|
Edited by njas, Oct 08 2006
|
|
|
Search completed in 0.002 seconds
|