login
A245817
Difference in size between rooted trees which are encoded as Matula-Goebel numbers A245821(n) and n: a(n) = A061775(A245821(n)) - A061775(n).
3
0, 0, 0, 0, 0, 1, 0, 0, -1, 0, 0, 1, 1, 4, 0, 0, 0, 1, 0, 4, 1, 1, -1, 0, -2, 1, -1, 1, 0, 1, 0, 4, -2, 0, 1, 0, 1, 2, -1, 1, 1, 2, 4, 1, 0, 3, 0, 0, 1, -2, 2, -1, 0, -1, -2, 1, 2, 0, 0, 1, 1, 3, 0, 0, 0, -1, 0, 5, 0, -2, 4, 2, 1, 3, 0, 0, -1, 3, 1, 1, 0, 5, -1, 1, -1, 2, 1, 1, 0, 4, -1, 0, -2, 0, 3, 5, -2, -1, 0
OFFSET
1,14
LINKS
FORMULA
a(n) = A061775(A245821(n)) - A061775(n).
Other identities. For all n >= 1, the following holds:
a(A000040(n)) = a(n). [The result for the n-th prime is same as for n itself].
a(A245823(n)) = 0. [A245823 gives a (proper) subsequence of the positions of the zeros].
PROG
(PARI)
\\ Execute first the code given in A061775 and A245821.
for(n=1, 10001, write("b245817.txt", n, " ", A245817(n)));
(Scheme) (define (A245817 n) (- (A061775 (A245821 n)) (A061775 n)))
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Aug 16 2014
STATUS
approved