OFFSET
1,2
COMMENTS
Records occur at positions: 1, 2, 5, 8, 14, 23, 41, 53, 68, 113, 122, 158, 203, 338, 365, ... (= (A147516(n)+1)/2) that give also all distinct values in this sequence: 1, 3, 7, 9, 12, 16, 21, 23, 26, 32, 34, 37, 40, 46, 48, 53, 58, 59, 64, 69, 72, 77, 81, ... Note that the terms of A291768 are all from the complementary sequence: 2, 4, 5, 6, 8, 10, 11, 13, 14, 15, 17, ...
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16385
FORMULA
a(n) = A291761(2n - 1).
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 11 2017
STATUS
approved