|
| |
| |
|
|
|
0, 1, 1, 2, 2, 1, 2, 2, 1, 0, 3, 3, 2, 1, 3, 3, 2, 1, 1, 0, 4, 4, 3, 2, 2, 1, 1, 4, 4, 3, 2, 2, 1, 1, 0, 4, 4, 3, 2, 2, 1, 1, 0, 0, 4, 4, 3, 2, 2, 1, 1, 0, 0, 0, 5, 5, 4, 3, 3, 2, 2, 1, 1, 1, 1, 5, 5, 4, 3, 3, 2, 21, 1, 1, 1, 0, 6, 6, 5, 4, 4, 3, 3, 2, 2, 2, 2, 1, 1
(list; table; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,4
|
|
|
COMMENTS
| Row sums = A034387, sum of primes <=n: (0, 2, 5, 5, 10, 10, 17,...).
|
|
|
FORMULA
| Triangle read by rows, A000012 * A143536, 1<=k<=n; where the operator A000012 takes partial sums by columns of A143536. Triangle A143536 = all 1's if n-th row is prime, 0 otherwise.
|
|
|
EXAMPLE
| First few rows of the triangle =
0;
1, 1;
2, 2, 1;
2, 2, 1, 0;
3, 3, 2, 1, 1;
3, 3, 2, 1, 1, 0;
4, 4, 3, 2, 2, 1, 1;
...
|
|
|
CROSSREFS
| Cf. A143536, A034387.
Sequence in context: A071572 A172176 A125916 * A100244 A059689 A165018
Adjacent sequences: A143534 A143535 A143536 * A143538 A143539 A143540
|
|
|
KEYWORD
| nonn,tabl
|
|
|
AUTHOR
| Gary W. Adamson (qntmpkt(AT)yahoo.com), Aug 23 2008
|
| |
|
|