%I #7 Feb 05 2025 14:32:23
%S 4,9,20,31,42,60,81,100,121,147,183,210,241,272,307,342,400,441,484,
%T 529,576,651,703,757,813,871,931,965,1023,1059,1089,1125,1190,1228,
%U 1296,1369,1408,1448,1520,1525,1598,1603,1681,1764,1849,1936,2070,2117,2209,2302
%N Sequence Sg of the eight sequences defining the blocks of terms in A377091.
%C See the comments in A379788 (Sequence Sa) for further information.
%C Apart from A379066(0) = 0, the beginning of this sequence coincides with A379066 up to a(27) = A379066(28). a(28) = 965 is the first term not present in A379066 (cf. A380838).
%H Paolo Xausa, <a href="/A380837/b380837.txt">Table of n, a(n) for n = 1..1000</a>
%F a(n) = A379788(n+1) - 1.
%t SequencePosition[A377091list[5000], {_?Negative, _?Positive}][[All, 1]] - 1
%Y Cf. A377091, A379066, A379788, A379789, A379790, A379791, A379792, A379793, A379794, A380838.
%K nonn
%O 1,1
%A _Paolo Xausa_, Feb 05 2025