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

%I #5 Feb 21 2015 15:37:34

%S 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 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 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 After a(0) = 0, the first differences of A255057: for n >= 1: a(n) = A255057(n) - A255057(n-1).

%C Used for computing A255338 and A255339.

%H Antti Karttunen, <a href="/A255337/b255337.txt">Table of n, a(n) for n = 0..8590</a>

%F a(n) = A005811(A255056(n))/2.

%F a(0) = 0; and for n >= 1: a(n) = A255057(n) - A255057(n-1).

%F a(n) = A255336(n)/2.

%o (Scheme, two versions)

%o (define (A255337 n) (/ (A005811 (A255056 n)) 2))

%o (define (A255337 n) (if (zero? n) n (- (A255057 n) (A255057 (- n 1)))))

%Y First differences of A255057.

%Y Terms of A255336 divided by 2.

%Y Cf. A005811, A213712, A255338, A255339.

%K nonn

%O 0,5

%A _Antti Karttunen_, Feb 21 2015