A274689 A variation of A005228.
1, -1, 2, 6, 11, 8, 15, 10, 19, 13, 25, 21, 14, 30, 22, 39, 29, 20, 38, 27, 50, 37, 61, 49, 35, 63, 48, 32, 58, 41, 72, 54, 34, 67, 46, 82, 60, 100, 81, 57, 99, 76, 51, 94, 68, 112, 85, 56, 101, 73, 120, 90, 59, 111, 79, 132, 98, 65, 127, 92, 55, 119, 83, 149
Offset: 1
Keywords
Examples
a(1) = 1; the next number with the lowest possible absolute value that has not occurred yet is -1, but since 1 + (-1) = 0 (which is not available because if a(n) = 0, then a(n+1) = a(n+1) - a(n)), -1 is not available. The next available terms are 2 and (-2). (-2) is chosen because |1 + 2| > |1 + (-2)|, so a(2) = 1 + (-2) = -1.
Comments