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.

A297964 a(n) = A296220(n) - 4n.

This page as a plain text file.
%I A297964 #6 Jan 11 2018 23:46:32
%S A297964 1,-2,2,1,0,-1,-2,-3,-3,-2,-2,-1,-1,0,0,1,1,2,2,3,2,2,3,2,1,1,2,1,1,2,
%T A297964 1,0,0,1,0,0,1,0,-1,-1,0,-1,-1,0,-1,-2,-2,-1,-2,-2,-1,-2,-3,-3,-2,-3,
%U A297964 -3,-2,-3,-4,-4,-3,-3,-2,-3,-3,-2,-3,-4,-4,-3,-3
%N A297964 a(n) = A296220(n) - 4n.
%C A297964 It has been checked that -9 <= a(n) <= 8 for n=1..6*10^6. Conjectures: every integer appears infinitely many times, and -2 < a(n) - a(n-1) < 2 for n > 2.
%H A297964 Clark Kimberling, <a href="/A297964/b297964.txt">Table of n, a(n) for n = 0..10000</a>
%t A297964 a[0] = 1; a[1] = 2; b[0] = 3; b[1] = 4;
%t A297964 a[n_] := a[n] = a[0]*b[n - 1] + a[1]*b[n - 2];
%t A297964 j = 1; While[j < 20000, k = a[j] - j - 1;
%t A297964 While[k < a[j + 1] - j + 1, b[k] = j + k + 2; k++]; j++];
%t A297964 Table[a[n], {n, 0, k}]; (* A296220 *)
%t A297964 Take[Table[a[n] - 4 n, {n, 0, k}], 300] (* A297964 *)
%Y A297964 Cf. A296220.
%K A297964 sign,easy
%O A297964 0,2
%A A297964 _Clark Kimberling_, Jan 10 2018