login
A135127
Numbers such that the digital sums in bases 2, 3, 5 and 7 all are equal.
5
0, 1, 882, 883, 1386, 1387, 2502, 2503, 3453, 7555, 7652, 7665, 7931, 9751, 10101, 12250, 12251, 16893, 17010, 17011, 17515, 17550, 17551, 18285, 20301, 22050, 22051, 24406, 24407, 25053, 27503, 31654, 40930, 40931, 41951, 50878, 50879
OFFSET
1,3
LINKS
EXAMPLE
a(2)=882, since ds_2(882 )=ds_3(882 )=ds_5(882 )=ds_7(882 )=6, where ds_x=digital sum base x.
MATHEMATICA
Select[Range[0, 32000], Total[IntegerDigits[#, 2]] == Total[IntegerDigits[#, 3]] == Total[IntegerDigits[#, 5]] == Total[IntegerDigits[#, 7]] &] (* G. C. Greubel, Sep 27 2016 *)
Select[Range[0, 51000], Length[Union[Total/@IntegerDigits[#, {2, 3, 5, 7}]]] == 1&] (* Harvey P. Dale, Sep 18 2019 *)
KEYWORD
nonn,base
AUTHOR
Hieronymus Fischer, Dec 31 2007
EXTENSIONS
Added 0, Stanislav Sykora, May 06 2012
STATUS
approved