OFFSET
1,2
COMMENTS
This sequence has similarities with Golomb's sequence (A001462); here we consider sums of one or more consecutive terms, there single terms.
This sequence is not weakly increasing: a(724) = 91 > a(725) = 90.
LINKS
Rémy Sigrist, C program for A348386
EXAMPLE
The first terms, alongside the sums a(n), a(n)+a(n-1), ..., are:
n a(n) Partial sums
-- ---- -------------------------------------
1 1 1
2 2 2, 3
3 2 2, 4, 5
4 3 3, 5, 7, 8
5 4 4, 7, 9, 11, 12
6 4 4, 8, 11, 13, 15, 16
7 5 5, 9, 13, 16, 18, 20, 21
8 5 5, 10, 14, 18, 21, 23, 25, 26
9 6 6, 11, 16, 20, 24, 27, 29, 31, 32
10 6 6, 12, 17, 22, 26, 30, 33, 35, 37, 38
PROG
(C) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Oct 16 2021
STATUS
approved