|
| |
|
|
A134776
|
|
Primes that are the sum of first n Catalan numbers. .
|
|
1
| | |
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| Next term a(7) has 475 decimal digits and is too large to include. Corresponding numbers n such that the sum of first n Catalan numbers is a prime are listed in A134775(n) = {2, 9, 11, 31, 46, 146, 795, ...}.
|
|
|
LINKS
| Eric Weisstein, Link to a section of The World of Mathematics. Catalan Number.
|
|
|
FORMULA
| a(n) = A014138( A134775(n) - 1 ).
|
|
|
EXAMPLE
| a(1) = 3 because C(1) + C(2) = 1 + 2 = 3 is a prime.
a(2) = 6917 because C(1) + C(2) + C(3) + C(4) + C(5) + C(6) + C(7) + C(8) + C(9) = 1 + 2 + 5 + 14 + 42 + 132 + 429 + 1430 + 4862 = 6917 is a prime.
|
|
|
MATHEMATICA
| f=0; Do[ f = f + Binomial[ 2n, n ]/(n+1); If[ PrimeQ[f], Print[ {n, f} ] ], {n, 1, 1000} ]
|
|
|
CROSSREFS
| Cf. A134475 = Numbers n such that the sum of first n Catalan numbers is a prime. Cf. A014138 = Partial sums of Catalan numbers (starting 1, 2, 5, ..., cf. A000108). Cf. A000108 = Catalan numbers. .
Sequence in context: A185671 A187879 A056749 * A062595 A128147 A068918
Adjacent sequences: A134773 A134774 A134775 * A134777 A134778 A134779
|
|
|
KEYWORD
| hard,nonn
|
|
|
AUTHOR
| Alexander Adamchuk (alex(AT)kolmogorov.com), Nov 11 2007
|
| |
|
|