OFFSET
1,1
LINKS
FORMULA
T(n, k) = 2*A065305(n, k) [but note different offset].
EXAMPLE
Sequence starts 2+2; 3+2, 3+3; 5+2, 5+3, 5+5; etc. i.e. 4; 5,6; 7,8,10; ...
Triangle begins:
4;
5, 6;
7, 8, 10;
9, 10, 12, 14;
13, 14, 16, 18, 22;
...
PROG
(Haskell)
import Data.List (inits)
a065342 n k = a065342_tabl !! (n-1) !! (k-1)
a065342_row n = a065342_tabl !! (n-1)
a065342_tabl = zipWith (map . (+)) a000040_list $ tail $ inits a000040_list
-- Reinhard Zumkeller, Aug 02 2015, Jan 30 2012
(PARI) row(n) = vector(n, k, prime(n)+prime(k)); \\ Michel Marcus, Sep 10 2021
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Henry Bottomley, Oct 30 2001
STATUS
approved