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.

A255336 a(n) = A005811(A255056(n)); After the initial zero, the first differences of A255056.

This page as a plain text file.
%I A255336 #7 Feb 21 2015 15:37:48
%S A255336 0,2,2,2,4,2,2,4,4,4,2,2,2,4,6,4,4,4,4,2,2,2,4,6,4,6,6,4,2,4,6,4,4,4,
%T A255336 4,2,2,2,4,6,4,6,4,4,6,6,6,6,6,4,2,4,6,4,6,6,4,2,4,6,4,4,4,4,2,2,2,4,
%U A255336 6,4,6,4,4,6,6,6,6,4,4,6,6,6,8,6,6,6,6,6,6,4,2,4,6,4,6,4,4,6,6,6,6,6,4,2,4,6,4,6,6,4,2,4,6,4,4,4,4,2,2
%N A255336 a(n) = A005811(A255056(n)); After the initial zero, the first differences of A255056.
%C A255336 First differences of A255056, shifted once right (prepended with zero).
%H A255336 Antti Karttunen, <a href="/A255336/b255336.txt">Table of n, a(n) for n = 0..8590</a>
%F A255336 a(n) = A005811(A255056(n)).
%F A255336 a(0) = 0; and for n >= 1: a(n) = A255056(n) - A255056(n-1).
%F A255336 a(n) = 2*A255337(n).
%o A255336 (Scheme, two versions)
%o A255336 (define (A255336 n) (A005811 (A255056 n)))
%o A255336 (define (A255336 n) (if (zero? n) n (- (A255056 n) (A255056 (- n 1)))))
%Y A255336 First differences of A255056.
%Y A255336 Terms of A255337 doubled.
%Y A255336 Cf. A005811.
%Y A255336 Analogous sequence: A213712.
%K A255336 nonn
%O A255336 0,2
%A A255336 _Antti Karttunen_, Feb 21 2015