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

A078432

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

Terms

    a(0) =0a(1) =1a(2) =4a(3) =14a(4) =32a(5) =204a(6) =994a(7) =7526a(8) =48636a(9) =421392a(10) =4018976a(11) =41304726a(12) =490878388

External references