// output of ./demo/seq/A175498-demo.cc: // Description: //% OEIS sequence A175498: //% Greedily choose next n (minimal) such that all differences in prefix are distinct. 1, 2, 4, 3, 6, 10, 5, 11, 7, 12, 9, 16, 8, 17, 15, 23, 13, 24, 18, 28, 14, 26, 19, 32, 20, 34, 21, 36, 25, 41, 22, 39, 30, 48, 27, 46, 29, 49, 31, 52, 37, 59, 33, 56, 40, 64, 35, 60, 38, 65, 42, 68, 43, 71, 44, 73, 45, 75, 51, 82, 47, 79, 112, 50, 84, 53, 88, 54, 90, 57, 94, 55, 93, 61, 100, 58, 98, 62, 103, 63, 105, 67, 110, 66, 111, 70, 114, 69, 115, 72, 119, 89, 137, 74, 123, 76, 126, 77, 128, 78, 130,