login
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

%I #9 Jan 03 2022 15:07:26

%S 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,

%T 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,

%U 2,3,2,3,2,4,2,12,4,13,7,3,8,2,5,3,11,4

%N 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.

%H Rémy Sigrist, <a href="/A350511/b350511.txt">Table of n, a(n) for n = 3..10000</a>

%H Rémy Sigrist, <a href="/A350511/a350511.gp.txt">PARI program for A350511</a>

%F a(n) > 1.

%e For n = 5:

%e - the first 5 terms of A124145 are: 1, 2, 3, 5, 6,

%e - A124145(5) = 6 = 1 + 2 + 3 = A124145(1) + A124145(2) + A124145(3),

%e - so a(5) = 3.

%o (PARI) See Links section.

%Y Cf. A124145.

%K nonn

%O 3,1

%A _Rémy Sigrist_, Jan 02 2022