The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 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}. 2
 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; refs; listen; history; text; internal format)
 OFFSET 0,5 LINKS 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, A119489 (row sums of absolute values). Sequence in context: A158471 A158472 A198895 * A102610 A203300 A134172 Adjacent sequences:  A118683 A118684 A118685 * A118687 A118688 A118689 KEYWORD sign,tabl AUTHOR Roger L. Bagula, May 20 2006 EXTENSIONS Edited by N. J. A. Sloane, Oct 08 2006 STATUS approved

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

Last modified June 20 10:07 EDT 2021. Contains 345162 sequences. (Running on oeis4.)