login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A061546
Harmonic mean of digits is 7.
0
7, 77, 777, 7777, 77777, 777777, 3999999, 4688999, 4689899, 4689989, 4689998, 4698899, 4698989, 4698998, 4699889, 4699898, 4699988, 4868999, 4869899, 4869989, 4869998, 4886999, 4888888, 4889699, 4889969, 4889996, 4896899
OFFSET
1,1
EXAMPLE
6666999 is a term since 7/(1/6+1/6+1/6+1/6+1/9+1/9+1/9)=7.
MATHEMATICA
Do[ h = IntegerDigits[n]; If[ Sort[h][[1]] != 0 && Length[h]/Apply[Plus, 1/h] == 7, Print[n]], {n, 1, 10^6}]
KEYWORD
base,easy,nonn
AUTHOR
Vladeta Jovovic, Jun 13 2001
EXTENSIONS
More terms from Robert G. Wilson v, Aug 08 2001
STATUS
approved