Form a permutation of the positive integers, p_1, p_2, ..., such that the average of each initial segment is an integer, using the greedy algorithm to define p_n; sequence gives p_1 + ... + p_n.
A019445
Form a permutation of the positive integers, p_1, p_2, ..., such that the average of each initial segment is an integer, using the greedy algorithm to define p_n; sequence gives p_1 + ... + p_n.
Terms
- a(0) =1a(1) =4a(2) =6a(3) =12a(4) =20a(5) =24a(6) =35a(7) =40a(8) =54a(9) =70a(10) =77a(11) =96a(12) =117a(13) =126a(14) =150a(15) =160a(16) =187a(17) =216a(18) =228a(19) =260a(20) =273a(21) =308a(22) =345a(23) =360a(24) =400a(25) =442a(26) =459a(27) =504a(28) =522a(29) =570
External references
- oeis: A019445