login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A147815
Triangle t(n, k) = k*n*(prime(n+2) - 2*prime(n+1) + prime(n)) + prime(n), 0 <= k <= n = 1, 2, 3, ...
1
2, 3, 3, 3, 3, 5, 11, 17, 23, 7, -1, -9, -17, -25, 11, 21, 31, 41, 51, 61, 13, 1, -11, -23, -35, -47, -59, 17, 31, 45, 59, 73, 87, 101, 115, 19, 35, 51, 67, 83, 99, 115, 131, 147, 23, -13, -49, -85, -121, -157, -193, -229, -265, -301, 29, 69, 109, 149, 189, 229, 269
OFFSET
1,1
FORMULA
t(n, k) = k*n*A036263(n) + A000040(n). - M. F. Hasler, Oct 15 2024
EXAMPLE
{2, 3},
{3, 3, 3},
{5, 11, 17, 23},
{7, -1, -9, -17, -25},
{11, 21, 31, 41, 51, 61},
{13, 1, -11, -23, -35, -47, -59},
{17, 31, 45, 59, 73, 87, 101, 115},
{19, 35, 51, 67, 83, 99, 115,131, 147},
{23, -13, -49, -85, -121, -157, -193, -229, -265, -301},
{29, 69, 109, 149, 189, 229, 269, 309, 349, 389, 429},
...
PROG
(PARI) A147815(n, k)=k*n*(prime(n) - 2*prime(n+1) + prime(n+2)) + prime(n)
[[A147815(n, k) | k<-[0..n]] | n<-[1..9]]
CROSSREFS
Cf. A036263 (2nd differences of primes).
Sequence in context: A129263 A035367 A042959 * A227246 A200924 A111913
KEYWORD
sign,tabf,less
AUTHOR
Roger L. Bagula, Nov 13 2008
EXTENSIONS
Edited by M. F. Hasler, Oct 15 2024
STATUS
approved