A140174 Numbers k such that k = pi(k)*(sum of the digits of k).
0, 2, 30, 1122, 24300
Offset: 1
Examples
24300 = pi(24300) * (2+4+3+0+0) = 2700 * 9.
Programs
-
Mathematica
Select[Range[0,25000],PrimePi[#]Total[IntegerDigits[#]]==#&] (* Harvey P. Dale, Feb 13 2023 *)
Comments