cp's OEIS Frontend

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.

A251539 First differences of A251538.

This page as a plain text file.
%I A251539 #11 Aug 01 2018 10:34:04
%S A251539 4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,3,4,4,4,4,
%T A251539 4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,1,1,1,1,2,4,
%U A251539 4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,3,4,4
%N A251539 First differences of A251538.
%C A251539 I would very much like to have a formula or recurrence for this sequence.
%H A251539 Reinhard Zumkeller, <a href="/A251539/b251539.txt">Table of n, a(n) for n = 1..100000</a>
%t A251539 max = 1000 (* = max term of A251538 *);
%t A251539 A098548 = {1, 2, 3};
%t A251539 For[n = 4, n <= 8 max, n++, If[GCD[n, A098548[[-1]]] == 1 && GCD[n, A098548[[-2]]] > 1, AppendTo[A098548, n]]];
%t A251539 A251538 = Select[Range[max], A098548[[2#+3]] > A098548[[2#+1]] + 6&];
%t A251539 Differences[A251538] (* _Jean-François Alcover_, Aug 01 2018 *)
%o A251539 (Haskell)
%o A251539 a251539 n = a251539_list !! (n-1)
%o A251539 a251539_list = zipWith (-) (tail a251538_list) a251538_list
%o A251539 -- _Reinhard Zumkeller_, Dec 08 2014
%Y A251539 Cf. A098548, A251535-A251538.
%Y A251539 Cf. A251767 (duplicates removed), A251768 (run lengths).
%K A251539 nonn
%O A251539 1,1
%A A251539 _N. J. A. Sloane_, Dec 07 2014