The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A251539 First differences of A251538. 6

%I #11 Aug 01 2018 10:34:04

%S 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 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 4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,3,4,4

%N First differences of A251538.

%C I would very much like to have a formula or recurrence for this sequence.

%H Reinhard Zumkeller, <a href="/A251539/b251539.txt">Table of n, a(n) for n = 1..100000</a>

%t max = 1000 (* = max term of A251538 *);

%t A098548 = {1, 2, 3};

%t For[n = 4, n <= 8 max, n++, If[GCD[n, A098548[[-1]]] == 1 && GCD[n, A098548[[-2]]] > 1, AppendTo[A098548, n]]];

%t A251538 = Select[Range[max], A098548[[2#+3]] > A098548[[2#+1]] + 6&];

%t Differences[A251538] (* _Jean-François Alcover_, Aug 01 2018 *)

%o (Haskell)

%o a251539 n = a251539_list !! (n-1)

%o a251539_list = zipWith (-) (tail a251538_list) a251538_list

%o -- _Reinhard Zumkeller_, Dec 08 2014

%Y Cf. A098548, A251535-A251538.

%Y Cf. A251767 (duplicates removed), A251768 (run lengths).

%K nonn

%O 1,1

%A _N. J. A. Sloane_, Dec 07 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 26 02:53 EDT 2024. Contains 372807 sequences. (Running on oeis4.)