A131424 Triangle read by rows: T(n,k) = prime(n) + prime(k) - 3, 1 <= k <= n.
1, 2, 3, 4, 5, 7, 6, 7, 9, 11, 10, 11, 13, 15, 19, 12, 13, 15, 17, 21, 23, 16, 17, 19, 21, 25, 27, 31, 18, 19, 21, 23, 27, 29, 33, 35, 22, 23, 25, 27, 31, 33, 37, 39, 43, 28, 29, 31, 33, 37, 39, 43, 45, 49, 55, 30, 31, 33, 35, 39, 41, 45, 47, 51, 57, 59
Offset: 1
Examples
First few rows of the triangle are: 1; 2, 3; 4, 5, 7; 6, 7, 9, 11; 10, 11, 13, 15, 19; 12, 13, 15, 17, 21, 23; 16, 17, 19, 21, 25, 27, 31; 18, 19, 21, 23, 27, 29, 33, 35; 22, 23, 25, 27, 31, 33, 37, 39, 43; ...
Links
- Andrew Howroyd, Table of n, a(n) for n = 1..1275 (first 50 rows)
Programs
-
Mathematica
T[n_,k_]:=Prime[n]+Prime[k]-3;Table[T[n,k],{n,11},{k,n}]//Flatten (* James C. McMahon, Feb 20 2025 *)
-
PARI
T(n,k) = if(k<=n, prime(n) + prime(k) - 3, 0) \\ Andrew Howroyd, Sep 01 2018
Formula
Extensions
Name clarified and terms a(56) and beyond from Andrew Howroyd, Sep 01 2018
Comments