Maximal number of squares among the n-1 numbers p_i + p_{i+1}, 1 <= i <= n-1, where (p_1, ..., p_n) is any permutation of (1, ..., n).
A064817
Maximal number of squares among the n-1 numbers p_i + p_{i+1}, 1 <= i <= n-1, where (p_1, ..., p_n) is any permutation of (1, ..., n).
Terms
- a(0) =0a(1) =0a(2) =1a(3) =1a(4) =2a(5) =3a(6) =4a(7) =5a(8) =6a(9) =7a(10) =8a(11) =9a(12) =10a(13) =12a(14) =14a(15) =15a(16) =16a(17) =16a(18) =17a(19) =18a(20) =19a(21) =20a(22) =22a(23) =22a(24) =24a(25) =25a(26) =26a(27) =27a(28) =28a(29) =29
External references
- oeis: A064817