login
A135123
Numbers such that the digital sum base 2 and the digital sum base 3 and the digital sum base 6 all are equal.
1
1, 12, 13, 114, 115, 366, 367, 477, 687, 864, 865, 876, 877, 1086, 1087, 1305, 1326, 1327, 1386, 1387, 1596, 1597, 1626, 1627, 1656, 1657, 1746, 1747, 1836, 1837, 1956, 1957, 2595, 2607, 2646, 2647, 3276, 3277, 3906, 3907, 3948, 3949, 4068, 4069, 5438
OFFSET
1,2
LINKS
EXAMPLE
a(2)=12, since ds_2(12)=ds_3(12)=ds_6(12), where ds_x=digital sum base x.
MATHEMATICA
Select[Range[5000], Total[IntegerDigits[#, 2]] == Total[IntegerDigits[#, 3]] == Total[IntegerDigits[#, 6]] &] (* G. C. Greubel, Sep 26 2016 *)
KEYWORD
nonn,base
AUTHOR
Hieronymus Fischer, Dec 31 2007
STATUS
approved