OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
EXAMPLE
48 is a member as sum of the digits 4+8 = 12 and number of digits 2 both divide 48.
MATHEMATICA
Select[Range[260], IntegerQ[ #/Sum[DigitCount[ # ][[i]]*i, {i, 1, 9}]] && IntegerQ[ #/Floor[Log[10, # ] + 1]] &] (* Stefan Steinerberger, Mar 18 2006 *)
Select[Range[300], And@@Divisible[#, {Total[IntegerDigits[#]], IntegerLength[ #]}]&] (* Harvey P. Dale, May 10 2015 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Aug 14 2005
EXTENSIONS
Corrected and extended by Stefan Steinerberger, Feb 17 2006
STATUS
approved