OFFSET
1,2
COMMENTS
If f(n) denotes the binary tree representation of n defined in A323710, then this sequence lists the n such that f(n) is symmetrical.
LINKS
Luc Rousseau, Table of n, a(n) for n = 1..200
Luc Rousseau, A program to compute this sequence (SWI-Prolog)
EXAMPLE
The recursive decomposition of 50176 with formula "parent = (2^left)*(2*right+1)" gives the following binary tree representation:
o
/ \
/ \
/ \
o o
/ \ / \
o o o o
/ \
o o
This tree is symmetrical, so 50176 is in the sequence.
PROG
(SWI-Prolog) See link.
CROSSREFS
KEYWORD
nonn
AUTHOR
Luc Rousseau, Jan 26 2019
STATUS
approved