OFFSET
1,1
EXAMPLE
If we consider A051270 and apply the Moebius function mu(n) to it we get a sequence of values: (-1,-1,-1,-1,-1),0,(-1),0,(-1,-1,-1,-1,-1,-1),0,0,(-1,-1,-1,-1),0,0,0,(-1,-1,-1,-1),0,(-1,-1),0,(-1, ... If we then look at the lengths of runs of equal terms, we get the sequence.
MAPLE
runl := 1 :
for n from 2 to 1000 do
runl := runl+1 ;
else
printf("%d, ", runl) ;
runl := 1;
end if;
end do: # R. J. Mathar, Oct 13 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Jani Melik, Feb 26 2002
EXTENSIONS
Corrected and extended by R. J. Mathar, Oct 13 2019
STATUS
approved