A152735 Count of links in n-th maximal chain of primes.
2, 3, 1, 1, 2, 4, 3, 1, 1, 2, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 2, 1, 2, 4, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 6, 1, 4, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 2, 2, 2, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1
Offset: 1
Keywords
Examples
The consecutive primes 5, 7, 11 form the first maximal chain of primes (see example in A152658); it has three members, two links. Therefore a(1) = 2.
Links
- Klaus Brockhaus, Table of n, a(n) for n=1..1000
Crossrefs
Programs
-
PARI
{n=1; while(n<560, c=0; while(isprime(n*prime(n)+(n+1)*prime(n+1)), c++; n++); if(c>0, print1(c, ",")); n++)}
Comments