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”).

A373414
Sum of the n-th maximal run of nonsquarefree numbers differing by one.
7
4, 17, 12, 16, 18, 20, 49, 55, 32, 36, 40, 89, 147, 52, 54, 56, 60, 127, 68, 72, 151, 161, 84, 88, 90, 92, 96, 297, 104, 108, 112, 233, 241, 375, 128, 132, 271, 140, 144, 295, 150, 305, 156, 160, 162, 164, 337, 343, 351, 180, 184, 377, 192, 196, 198, 200, 204
OFFSET
1,1
COMMENTS
The length of this run is given by A053797.
A run of a sequence (in this case A013929) is an interval of positions at which consecutive terms differ by one.
EXAMPLE
Row-sums of:
4
8 9
12
16
18
20
24 25
27 28
32
36
40
44 45
48 49 50
MATHEMATICA
Total/@Split[Select[Range[100], !SquareFreeQ[#]&], #1+1==#2&]//Most
CROSSREFS
The partial sums are a subset of A329472.
Functional neighbors: A053797, A053806, A054265, A373406, A373412, A373413.
A005117 lists the squarefree numbers, first differences A076259.
A013929 lists the nonsquarefree numbers, first differences A078147.
Sequence in context: A264217 A341442 A063625 * A241257 A057596 A070712
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 06 2024
STATUS
approved