login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A357371
a(1) = 1, thereafter, first differences of A357370.
2
1, 2, 4, 6, 8, 12, 14, 17, 18, 20, 23, 24, 27, 28, 30, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 56, 57, 60, 63, 65, 67, 68, 72, 73, 74, 75, 76, 79, 82, 83, 85, 86, 89, 90, 92, 94, 96, 98, 100, 103, 104, 107, 109, 110, 112, 114, 116, 118, 120, 122, 124, 126
OFFSET
1,2
COMMENTS
Length of row n of A355917 taken as an irregular triangle where the rows terminate in 0.
Length of inventory n in A355916 = 2*a(n).
Final subscript in the n-th inventory in A355916 = a(n) - 1.
LINKS
MATHEMATICA
nn = 63; c[_] = 0; i = 1; {1}~Join~Differences@ Reap[Do[k = 0; While[c[k] > 0, Set[m, c[k]]; c[m]++; c[k]++; i += 2; k++]; Set[m, c[k]]; c[m]++; c[k]++; Sow[(i + 1)/2]; i += 2, {n, nn}]][[-1, -1]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael De Vlieger, Sep 25 2022
STATUS
approved