OFFSET
1,3
LINKS
Stanislav Sykora, Table of n, a(n) for n = 1..10000
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 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Hieronymus Fischer, Dec 31 2007
EXTENSIONS
Added 0, Stanislav Sykora, May 06 2012
STATUS
approved