OFFSET
1,2
COMMENTS
In other words, for any n > 0, the sum of the a(n) terms up to and including a(n) is always unique.
This sequence is unbounded.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A338283
EXAMPLE
The first terms, alongside the corresponding sums, are:
n a(n) a(n+1-a(n))+...+a(n)
-- ---- --------------------
1 1 1
2 2 3
3 2 4
4 3 7
5 2 5
6 3 8
7 4 12
8 2 6
9 3 9
10 4 13
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Oct 20 2020
STATUS
approved