login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A347318 Length of row n in A347317. 2

%I #12 Oct 13 2021 03:58:15

%S 1,3,4,6,6,8,9,11,12,13,15,17,19,23,29,36,43,60,91,150,265,493,946,

%T 1848,3649,7246,14437,28814,57564,115059,230044,460010,919938,1839789,

%U 3679485,7358874,14717646,29435186,58870261,117740405,235480687,470961245,941922354,1883844567

%N Length of row n in A347317.

%t Block[{c, k, m, r = 0}, c[0] = 1; Prepend[Differences[#], First[#]] &@ Position[{-1}~Join~Reap[Do[k = 0; While[k <= r, If[IntegerQ@ c[k], Set[m, c[k]], Set[c[k], 0]; Set[m, 0]]; If[m > r, r = m]; Sow[m]; If[IntegerQ@ c[m], c[m]++, c[m] = 1]; k++]; Sow[-1]; c[0]++, 32]][[-1, -1]], -1][[All, 1]]] (* _Michael De Vlieger_, Oct 12 2021 *)

%Y Cf. A347299, A347317.

%K nonn

%O 0,2

%A _N. J. A. Sloane_, Sep 10 2021

%E a(10)-a(43) from _Andrey Zabolotskiy_, Sep 10 2021

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 22 15:44 EDT 2024. Contains 375369 sequences. (Running on oeis4.)