This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A251767 #12 Aug 01 2018 10:54:12 %S A251767 4,3,4,3,4,3,4,3,4,3,4,1,2,4,3,4,3,4,3,4,3,4,3,4,3,4,1,4,3,4,3,4,3,4, %T A251767 3,4,3,4,3,4,1,4,3,4,3,4,2,4,3,4,3,4,3,4,1,2,4,3,4,3,4,3,4,3,4,3,4,3, %U A251767 4,1,4,3,4,3,4,3,4,3,4,3,4,2,4,1,4,3 %N A251767 Consecutive repeated terms removed from in A251539. %H A251767 Reinhard Zumkeller, <a href="/A251767/b251767.txt">Table of n, a(n) for n = 1..10000</a> %t A251767 max = 2000 (* = max term of A251538 *); %t A251767 A098548 = {1, 2, 3}; %t A251767 For[n = 4, n <= 8 max, n++, If[GCD[n, A098548[[-1]]] == 1 && GCD[n, A098548[[-2]]] > 1, AppendTo[A098548, n]]]; %t A251767 A251538 = Select[Range[max], A098548[[2 # + 3]] > A098548[[2 # + 1]] + 6&]; %t A251767 A251539 = Differences[A251538]; %t A251767 First /@ Split[A251539] (* _Jean-François Alcover_, Aug 01 2018 *) %o A251767 (Haskell) %o A251767 import Data.List (group) %o A251767 a251767 n = a251767_list !! (n-1) %o A251767 a251767_list = map head $ group a251539_list %Y A251767 Cf. A251539, A251768. %K A251767 nonn %O A251767 1,1 %A A251767 _Reinhard Zumkeller_, Dec 08 2014