Primes p such that the p-1 digits of the binary expansion of k/p (for k=1,2,3,...,p-1) fit into the k-th row of a magic square grid of order p-1.

A096339

Primes p such that the p-1 digits of the binary expansion of k/p (for k=1,2,3,...,p-1) fit into the k-th row of a magic square grid of order p-1.

Terms

    a(0) =59a(1) =67a(2) =83a(3) =211a(4) =2027a(5) =2539a(6) =4261a(7) =4813a(8) =6277a(9) =7283a(10) =8387a(11) =15373a(12) =16349a(13) =30707a(14) =38237a(15) =41411a(16) =41813a(17) =57557a(18) =59771a(19) =71941a(20) =78341a(21) =79867a(22) =84229a(23) =89317a(24) =96179a(25) =100907a(26) =122011a(27) =133387a(28) =153877a(29) =168293

External references