A037334 Numbers whose base-8 and base-9 expansions have the same digit sum.
1, 2, 3, 4, 5, 6, 7, 120, 121, 122, 123, 124, 125, 176, 177, 178, 179, 234, 235, 236, 237, 238, 239, 288, 289, 290, 291, 292, 293, 294, 295, 344, 345, 346, 347, 348, 349, 350, 459, 460, 461, 462, 463, 568, 569, 570, 571, 572, 573
Offset: 1
Examples
125 is in the sequence because 125 = (1,4,8)_9 = (1,7,5)_8 and 1+4+8 = 1+7+5. 126 is not in the sequence because 126 = (1,5,0)_9 = (1,7,6)_8 but 1+5+0 <> 1+7+6. - _R. J. Mathar_, Jun 30 2021