login
A037334
Numbers whose base-8 and base-9 expansions have the same digit sum.
0
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,2
FORMULA
{n: A053829(n) = A053830(n)}. - R. J. Mathar, Jun 30 2021
EXAMPLE
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
CROSSREFS
Sequence in context: A331565 A171644 A246338 * A037441 A270436 A004869
KEYWORD
nonn,base
STATUS
approved