Difference between the maximum number of consecutive integers and the least number >1 of consecutive integers, the sum of which equals 2n.

A104515

Difference between the maximum number of consecutive integers and the least number >1 of consecutive integers, the sum of which equals 2n.

Terms

    a(0) =0a(1) =0a(2) =0a(3) =0a(4) =0a(5) =0a(6) =0a(7) =0a(8) =1a(9) =0a(10) =0a(11) =0a(12) =0a(13) =0a(14) =3a(15) =0a(16) =0a(17) =1a(18) =0a(19) =0a(20) =4a(21) =0a(22) =0a(23) =0a(24) =3a(25) =0a(26) =4a(27) =0a(28) =0a(29) =2

External references