|
|
|
|
1, 2, 3, 2, 3, 5, 2, 3, 1, 7, 2, 3, 5, 1, 1, 2, 3, 1, 1, 11, 1, 2, 3, 5, 7, 1, 13, 1, 2, 3, 1, 1, 1, 1, 1, 1, 2, 3, 5, 1, 1, 1, 17, 1, 1, 2, 3, 1, 7, 1, 1, 1, 19, 1, 1, 2, 3, 5, 1, 11, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 23, 1, 1, 1, 2, 3, 5, 7, 1, 13, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
A prime number appears in a column at every A130290-th row from the (A130290+1)-th row onwards. The prime numbers are, so to speak, equidistantly distributed in the columns. A130290 is essentially A005097. Counting terms > 1 in the rows gives A046886.
|
|
LINKS
|
|
|
EXAMPLE
|
First few rows of the triangle and row products are:
1 = 1
2*3 = 6
2*3*5 = 30
2*3*1*7 = 42
2*3*5*1*1 = 30
2*3*1*1*11*1 = 66
2*3*5*7*1*13*1 = 2730
|
|
MAPLE
|
T:= (n, k)-> (p-> `if`(irem(denom(bernoulli(2*n)), p)=0, p, 1))(ithprime(k)):
|
|
MATHEMATICA
|
t[n_, k_] := If[Mod[Denominator[BernoulliB[2n]], (p = Prime[k])] == 0, p, 1];
|
|
PROG
|
(PARI) tabl(nn) = {for (n=0, nn, dbn = denominator(bernfrac(2*n)); for (k=1, n+1, if (! (dbn % prime(k)), w = prime(k), w = 1); print1(w, ", "); ); print; ); } \\ Michel Marcus, Aug 27 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|