Number of cyclic arrangements of {0,1,...,n-1} such that both the difference and the sum of any two neighbors are prime.
A242528
Number of cyclic arrangements of {0,1,...,n-1} such that both the difference and the sum of any two neighbors are prime.
Terms
- a(0) =0a(1) =0a(2) =0a(3) =0a(4) =0a(5) =0a(6) =0a(7) =0a(8) =0a(9) =0a(10) =0a(11) =2a(12) =4a(13) =18a(14) =13a(15) =62a(16) =8a(17) =133a(18) =225a(19) =209a(20) =32a(21) =2644a(22) =4462a(23) =61341a(24) =113986a(25) =750294a(26) =176301a(27) =7575912a(28) =3575686a(29) =7705362
External references
- oeis: A242528