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!)
A205867 Numbers k for which 8 divides s(k)-s(j) for some j<k; each k occurs once for each such j; s(k) denotes the (k+1)-st Fibonacci number. 6

%I #5 Mar 30 2012 18:58:12

%S 6,7,7,8,10,11,12,12,13,13,13,14,14,15,16,16,16,17,17,18,18,18,18,19,

%T 19,19,19,19,20,20,20,21,22,22,22,22,23,23,23,24,24,24,24,24,25,25,25,

%U 25,25,25

%N Numbers k for which 8 divides s(k)-s(j) for some j<k; each k occurs once for each such j; s(k) denotes the (k+1)-st Fibonacci number.

%C For a guide to related sequences, see A205840.

%e The first six terms match these differences:

%e s(6)-s(4) = 13-5 = 8 = 8*1

%e s(7)-s(4) = 21-5 = 16 = 8*2

%e s(7)-s(6) = 21-13 = 8 = 8*1

%e s(8)-s(2) = 34-2 = 32 = 8*4

%e s(10)-s(1) = 89-1 = 88 = 8*11

%e s(11)-s(5) = 144-8 = 136 =8*17

%t s[n_] := s[n] = Fibonacci[n + 1]; z1 = 600; z2 = 50;

%t f[n_] := f[n] = Floor[(-1 + Sqrt[8 n - 7])/2];

%t Table[s[n], {n, 1, 30}]

%t u[m_] := u[m] = Flatten[Table[s[k] - s[j], {k, 2, z1}, {j, 1, k - 1}]][[m]]

%t Table[u[m], {m, 1, z1}] (* A204922 *)

%t v[n_, h_] := v[n, h] = If[IntegerQ[u[h]/n], h, 0]

%t w[n_] := w[n] = Table[v[n, h], {h, 1, z1}]

%t d[n_] := d[n] = Delete[w[n], Position[w[n], 0]]

%t c = 8; t = d[c] (* A205866 *)

%t k[n_] := k[n] = Floor[(3 + Sqrt[8 t[[n]] - 1])/2]

%t j[n_] := j[n] = t[[n]] - f[t][[n]] (f[t[[n]]] + 1)/2

%t Table[k[n], {n, 1, z2}] (* A205867 *)

%t Table[j[n], {n, 1, z2}] (* A205868 *)

%t Table[s[k[n]] - s[j[n]], {n, 1, z2}] (* A205869 *)

%t Table[(s[k[n]] - s[j[n]])/c, {n, 1, z2}] (* A205870 *)

%Y Cf. A204892, A205868, A205870.

%K nonn

%O 1,1

%A _Clark Kimberling_, Feb 02 2012

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 31 11:00 EDT 2024. Contains 372981 sequences. (Running on oeis4.)