Number of permutations p of 1,2,...,n such that the numerator of the continued fraction [p(1); p(2),...,p(n)] is prime.

A078433

Number of permutations p of 1,2,...,n such that the numerator of the continued fraction [p(1); p(2),...,p(n)] is prime.

Terms

    a(0) =0a(1) =2a(2) =2a(3) =10a(4) =30a(5) =124a(6) =992a(7) =5700a(8) =39844a(9) =366172a(10) =3587856a(11) =38861778a(12) =435816838

External references