OFFSET
1,3
COMMENTS
The EQ-triangles generated from the binary expansion of the terms of this sequence have reflection symmetry through axis U-U:
. U
. .___________
. \ . /
. \ . /
. \ .
. \ / .
. \ / U
. v
LINKS
Rémy Sigrist, Illustration of initial terms
EXAMPLE
A335133(28) = 28, so 28 belongs to this sequence.
PROG
(PARI) is(n) = {
my (b=binary(n), v=0);
forstep (x=#b-1, 0, -1,
if (b[1], v+=2^x);
b=vector(#b-1, k, b[k]==b[k+1])
);
v==n
}
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, May 24 2020
STATUS
approved