login
A350511
a(n) is the unique k such that A124145(n) is the sum of k consecutive terms among the first n-1 terms of A124145.
1
2, 2, 3, 2, 3, 4, 5, 2, 3, 4, 6, 2, 4, 5, 2, 2, 4, 2, 3, 5, 2, 6, 7, 3, 2, 5, 3, 6, 3, 8, 9, 5, 3, 6, 4, 2, 2, 8, 9, 10, 3, 2, 2, 8, 5, 11, 2, 6, 3, 4, 11, 2, 3, 4, 2, 5, 2, 6, 3, 9, 7, 10, 2, 11, 7, 5, 2, 3, 2, 3, 2, 4, 2, 12, 4, 13, 7, 3, 8, 2, 5, 3, 11, 4
OFFSET
3,1
LINKS
FORMULA
a(n) > 1.
EXAMPLE
For n = 5:
- the first 5 terms of A124145 are: 1, 2, 3, 5, 6,
- A124145(5) = 6 = 1 + 2 + 3 = A124145(1) + A124145(2) + A124145(3),
- so a(5) = 3.
PROG
(PARI) See Links section.
CROSSREFS
Cf. A124145.
Sequence in context: A029248 A085916 A286535 * A324344 A059711 A318287
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jan 02 2022
STATUS
approved