OFFSET
1,1
EXAMPLE
126 is a term as the arithmetic mean of the digits is (1+2+6)/3 = 3.
MATHEMATICA
Select[Range[1200], 3IntegerLength[#]==Total[IntegerDigits[#]]&] (* Harvey P. Dale, Feb 04 2011 *)
PROG
(Magma) [ n: n in [1..1030] | &+Intseq(n) eq 3*#Intseq(n) ]; // Bruno Berselli, Jun 30 2011
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, May 03 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), May 16 2001
STATUS
approved