OFFSET
1,2
COMMENTS
Take the list {2^i: i >= 0} and concatenate its terms (allowing multiple copies) in any order; then sort the result into increasing order.
The term a(32) = 128 is a power of 2 as well as the concatenation of several powers of 2. - Rémy Sigrist, Feb 20 2025
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..11921
Rémy Sigrist, PARI program
EXAMPLE
11 is a term because it is the concatenation of 1 = 2^0 with itself;
12 is a term because it is the concatenation of 1 = 2^0 with 2 = 2^1;
32 is a term because it is equal to 2^5;
168 is a term because it is the concatenation of 16 = 2^4 with 8 = 2^3.
0 is not a term because it is not a power of 2.
PROG
(PARI) \\ See Links section.
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Stefano Spezia, Feb 18 2025
STATUS
approved