OFFSET
1,1
COMMENTS
{1, 2, n+2, n^2+n+2, a(n)} is the lexicographically first set of 5 positive integers with the property that the sum of any n nondecreasing terms (repetitions allowed) is unique.
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
M. B. Nathanson, The third positive element in the greedy B_h-set, arXiv:2310.14426 [math.NT], 2023.
M. B. Nathanson and Kevin O'Bryant, The fourth positive element in the greedy B_h-set, arXiv:2311.14021 [math.NT], 2023.
Kevin O'Bryant, B_h-sets and Rigidity, arXiv:2312.10910 [math.NT], 2023.
Index entries for linear recurrences with constant coefficients, signature (1,3,-3,-3,3,1,-1).
FORMULA
MATHEMATICA
LinearRecurrence[{1, 3, -3, -3, 3, 1, -1}, {5, 13, 33, 56, 109, 155, 257}, 50] (* Paolo Xausa, Mar 08 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Chai Wah Wu, Feb 29 2024
STATUS
approved