Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%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