a(n) is the first occurrence of k in A104515, the difference between the maximum number of consecutive integers and the minimum number >1 of consecutive integers, the sum of which equals n.

A104516

a(n) is the first occurrence of k in A104515, the difference between the maximum number of consecutive integers and the minimum number >1 of consecutive integers, the sum of which equals n.

Terms

    a(0) =1a(1) =9a(2) =30a(3) =15a(4) =21a(5) =35a(6) =54a(7) =45a(8) =55a(9) =77a(10) =156a(11) =91a(12) =105a(13) =135a(14) =204a(15) =153a(16) =171a(17) =209a(18) =252a(19) =231a(20) =253a(21) =299a(22) =450a(23) =325a(24) =351a(25) =405a(26) =522a(27) =435a(28) =465a(29) =527

External references