Length of the longest positive arithmetic progression, with nonzero common difference, that sums to n.

A175778

Length of the longest positive arithmetic progression, with nonzero common difference, that sums to n.

Terms

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

External references