|
Search: id:A143541
|
|
|
| A143541 |
|
Triangle read by rows, T(n,k) = 1 if n & k are prime, 0 otherwise; 1<=k<=n. |
|
+0 3
|
|
| 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1
(list; table; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
Row sums = the prime count, A049084: (0, 1, 2, 0, 3, 0, 4, 0, 0, 0, 5,...).
|
|
FORMULA
|
Triangle read by rows, T(n,k) = 1 if n & k are prime, 0 otherwise. n-th row = n zeros if n is a nonprime; first n terms of A010051 (the characteristic function of primes) if n is prime.
|
|
EXAMPLE
|
First few rows of the triangle are:
0;
0, 1;
0, 1, 1;
0, 0, 0, 0;
0, 1, 1, 0, 1;
0, 0, 0, 0, 0, 0;
0, 1, 1, 0, 1, 0, 1;
...
Row 5 = first 5 terms of A010051: (0, 1, 1, 0, 1).
T(5,3) = 1 since (5,3) are prime; but T(5,4) = 0 since 4 is a nonprime.
|
|
CROSSREFS
|
Cf. A010051, A049084.
Sequence in context: A144608 A095907 A056051 this_sequence A090173 A072784 A092436
Adjacent sequences: A143538 A143539 A143540 this_sequence A143542 A143543 A143544
|
|
KEYWORD
|
nonn,tabl
|
|
AUTHOR
|
Gary W. Adamson (qntmpkt(AT)yahoo.com), Aug 23 2008
|
|
|
Search completed in 0.002 seconds
|