OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1500 from G. C. Greubel)
Shyam Sunder Gupta, Smith numbers.
Wayne L. McDaniel, The Existence of infinitely Many k-Smith numbers, Fibonacci Quarterly, Vol. 25, No. 1 (1987), pp. 76-80.
EXAMPLE
402 is a 3-Smith number because the sum of the digits of its prime factors, i.e., Sp(402) = Sp(2*3*67)= 2 + 3 + 6 + 7 = 18, which is equal to 3 times the digit sum of 402, i.e., 3*S(402) = 3*(4 + 0 + 2) = 18.
MATHEMATICA
Select[Range[12000], Total[Flatten[IntegerDigits/@Table[#[[1]], {#[[2]]}]&/@ FactorInteger[#]]]/Total[IntegerDigits[#]]==3&] (* Harvey P. Dale, Feb 19 2013 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric W. Weisstein, Mar 04 2005 and Shyam Sunder Gupta, Mar 11 2005
STATUS
approved