Amiram Eldar, <a href="/A067316/b067316_1.txt">Table of n, a(n) for n = 0..10000</a>
Amiram Eldar, <a href="/A067316/b067316_1.txt">Table of n, a(n) for n = 0..10000</a>
reviewed
approved
proposed
reviewed
editing
proposed
For n = 8, the primes are 2, 29, 71, 29, 2, so a(n) = 5.
a(n) = 6 for n = 9, 10, 11, 12. Also, a(n) = 10 for n = 149, ..., 154.
(PARI) a(n) = 2 * sum(k=0, (n-1)\2, isprime(binomial(n, k) + 1)) + if(!(n%2), isprime(binomial(n, n/2) + 1)); \\ Amiram Eldar, Jul 18 2024
Amiram Eldar, <a href="/A067316/b067316_1.txt">Table of n, a(n) for n = 0..10000</a>
approved
editing
proposed
approved
editing
proposed
For n=8, the primes are 2,29,71,29,2, so a(n)=5. a(n)=6 for n=9,10,11,12. Also, a(n)=10 for n=149,...,154.
a(n)=6 for n=9,10,11,12. Also, a(n)=10 for n=149,...,154.
(PARI) a(n) = sum(j=0, n, isprime(1 + binomial(n, j))); \\ Michel Marcus, Oct 30 2018
proposed
editing