login
A032842
Numbers whose base-4 representation Sum_{i=0..m} d(i)*4^i has d(m) < d(m-1) > d(m-2) < ...
3
1, 2, 3, 6, 7, 11, 24, 25, 28, 29, 30, 44, 45, 46, 97, 98, 99, 102, 103, 113, 114, 115, 118, 119, 123, 177, 178, 179, 182, 183, 187, 388, 392, 393, 396, 397, 398, 408, 409, 412, 413, 414, 452, 456, 457, 460, 461, 462, 472, 473, 476
OFFSET
1,2
COMMENTS
For any term a(n) == 0 (mod 4), the three terms 4*a(n)+{1,2,3} are also in {a(n)}. If a(n) == 3 (mod 4), except for a(3)=3, then 4*a(n)+{0,1,2} are in the sequence. - Christian N. K. Anderson, May 24 2024
LINKS
Christian N. K. Anderson, Table of n, a(n) for n = 1..10000
EXAMPLE
The numbers {24, 25, 28, 29, 30, 44, 45, 46} are in the sequence because in base-4 they are {120, 121, 130, 131, 132, 230, 231, 232}, i.e., all the three-digit base-4 numbers that fit the pattern. - Christian N. K. Anderson, May 24 2024
CROSSREFS
Cf. A032851 for digits <= or >= previous digit (also in base 4).
Cf. A032841 for same sequence in base 3 (with program), A032843 base 5, A032844 base 6, A032845 base 7, A032846 base 8, A032847 base 9, A032848 base 10, and A032849 base 2.
Sequence in context: A092857 A062404 A032875 * A023773 A115889 A101319
KEYWORD
nonn,base
STATUS
approved