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.

A255337 After a(0) = 0, the first differences of A255057: for n >= 1: a(n) = A255057(n) - A255057(n-1).

This page as a plain text file.
%I A255337 #5 Feb 21 2015 15:37:34
%S A255337 0,1,1,1,2,1,1,2,2,2,1,1,1,2,3,2,2,2,2,1,1,1,2,3,2,3,3,2,1,2,3,2,2,2,
%T A255337 2,1,1,1,2,3,2,3,2,2,3,3,3,3,3,2,1,2,3,2,3,3,2,1,2,3,2,2,2,2,1,1,1,2,
%U A255337 3,2,3,2,2,3,3,3,3,2,2,3,3,3,4,3,3,3,3,3,3,2,1,2,3,2,3,2,2,3,3,3,3,3,2,1,2,3,2,3,3,2,1,2,3,2,2,2,2,1,1
%N A255337 After a(0) = 0, the first differences of A255057: for n >= 1: a(n) = A255057(n) - A255057(n-1).
%C A255337 Used for computing A255338 and A255339.
%H A255337 Antti Karttunen, <a href="/A255337/b255337.txt">Table of n, a(n) for n = 0..8590</a>
%F A255337 a(n) = A005811(A255056(n))/2.
%F A255337 a(0) = 0; and for n >= 1: a(n) = A255057(n) - A255057(n-1).
%F A255337 a(n) = A255336(n)/2.
%o A255337 (Scheme, two versions)
%o A255337 (define (A255337 n) (/ (A005811 (A255056 n)) 2))
%o A255337 (define (A255337 n) (if (zero? n) n (- (A255057 n) (A255057 (- n 1)))))
%Y A255337 First differences of A255057.
%Y A255337 Terms of A255336 divided by 2.
%Y A255337 Cf. A005811, A213712, A255338, A255339.
%K A255337 nonn
%O A255337 0,5
%A A255337 _Antti Karttunen_, Feb 21 2015