The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A245818 Difference in size between rooted trees which are encoded with Matula-Goebel numbers A245822(n) and n: a(n) = A061775(A245822(n)) - A061775(n). 3
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, 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, -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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,14
LINKS
FORMULA
a(n) = A061775(A245822(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 A245822.
for(n=1, 10001, write("b245818.txt", n, " ", A245818(n)));
(Scheme) (define (A245818 n) (- (A061775 (A245822 n)) (A061775 n)))
CROSSREFS
Sequence in context: A352565 A035186 A035194 * A161491 A332998 A301652
KEYWORD
sign
AUTHOR
Antti Karttunen, Aug 16 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 23 06:30 EDT 2024. Contains 372760 sequences. (Running on oeis4.)