%I #12 Aug 18 2014 00:52:57
%S 0,0,0,0,0,0,0,1,-1,0,0,0,0,2,-1,2,0,0,1,0,1,2,-1,0,-1,2,-1,1,0,-1,0,
%T 2,1,2,1,-1,0,1,1,2,0,0,2,2,-1,-1,-1,0,1,-1,1,0,2,-1,-1,1,0,3,0,0,0,3,
%U -1,0,0,0,1,3,-2,0,0,0,1,2,-1,2,3,0,2,2,-4,1,-1,1,3,4,-1,0,0,-2,1,0,1,1,0,0,-1,1,1,0
%N Difference in size between rooted trees which are encoded with Matula-Goebel numbers A245822(n) and n: a(n) = A061775(A245822(n)) - A061775(n).
%H Antti Karttunen, <a href="/A245818/b245818.txt">Table of n, a(n) for n = 1..10001</a>
%F a(n) = A061775(A245822(n)) - A061775(n).
%F Other identities. For all n >= 1, the following holds:
%F a(A000040(n)) = a(n). [The result for the n-th prime is same as for n itself].
%F a(A245823(n)) = 0. [A245823 gives a (proper) subsequence of the positions of the zeros].
%o (PARI)
%o \\ Execute first the code given in A061775 and A245822.
%o A245818(n) = A061775(A245822(n)) - A061775(n);
%o for(n=1, 10001, write("b245818.txt", n, " ", A245818(n)));
%o (Scheme) (define (A245818 n) (- (A061775 (A245822 n)) (A061775 n)))
%Y Cf. A000040, A061775, A245817, A245822, A245823.
%K sign
%O 1,14
%A _Antti Karttunen_, Aug 16 2014
|