a(n) is the least k >= 3 such that n can be written as sum of k consecutive integers. a(n)=0 if such a k does not exist.
A111787
a(n) is the least k >= 3 such that n can be written as sum of k consecutive integers. a(n)=0 if such a k does not exist.
Terms
- a(0) =0a(1) =0a(2) =0a(3) =0a(4) =0a(5) =3a(6) =0a(7) =0a(8) =3a(9) =4a(10) =0a(11) =3a(12) =0a(13) =4a(14) =3a(15) =0a(16) =0a(17) =3a(18) =0a(19) =5a(20) =3a(21) =4a(22) =0a(23) =3a(24) =5a(25) =4a(26) =3a(27) =7a(28) =0a(29) =3
External references
- oeis: A111787