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.
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
Keywords
Examples
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.
Links
- Rémy Sigrist, Table of n, a(n) for n = 3..10000
- Rémy Sigrist, PARI program for A350511
Crossrefs
Cf. A124145.
Programs
-
PARI
See Links section.
Formula
a(n) > 1.