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”).
%I #18 Oct 28 2021 02:01:55
%S 1,2,3,4,5,7,8,9,10,11,12,14,15,16,18,19,20,22,23,25,26,27,28,30,31,
%T 32,33,35,36,38,39,40,41,42,44,46,47,48,49,51,52,54,55,56,58,59,60,62,
%U 63,64,65,66,67,69,70,72,73,74,75,78,79,80,82,83,84,86,87,88
%N Total number of layers of width 1 of all symmetric representations of sigma() with subparts of all positive integers <= n.
%H Michael De Vlieger, <a href="/A347528/b347528.txt">Table of n, a(n) for n = 1..10000</a>
%e For the first five positive integers every symmetric representation of sigma() with subparts has only one layer of width 1, so a(5) = 1 + 1 + 1 + 1 + 1 = 5.
%e For n = 6 the symmetric representation of sigma(6) with subparts has two layers of width 1 as shown below:
%e _ _ _ _
%e |_ _ _ |_
%e | |_|_
%e |_ _ |
%e | |
%e | |
%e |_|
%e So a(6) = 5 + 2 = 7.
%t Accumulate@ Map[Max@ Accumulate[#] &, Table[If[OddQ[k], Boole@ Divisible[n, k], -Boole@ Divisible[n - k/2, k]], {n, 68}, {k, Floor[(Sqrt[8 n + 1] - 1)/2]}]] (* _Michael De Vlieger_, Oct 27 2021 *)
%Y Partial sums of A250068.
%Y Cf. A196020, A235791, A236104, A237270, A237271, A237591, A237590, A237593, A279387, A279391, A279667, A280850, A280851, A296508.
%K nonn
%O 1,2
%A _Omar E. Pol_, Sep 05 2021