Number of essentially different ways of arranging numbers 1 through 2*n around a circle so that the sums of each pair of adjacent numbers are neither all prime nor all composite.

A191798

Number of essentially different ways of arranging numbers 1 through 2*n around a circle so that the sums of each pair of adjacent numbers are neither all prime nor all composite.

Terms

    a(0) =0a(1) =2a(2) =58a(3) =2474a(4) =180480a(5) =19895936a(6) =3105348340a(7) =652948189204

External references