OFFSET
1,2
COMMENTS
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
Richard G. E. Pinch, Economical numbers, arXiv:math/9802046 [math.NT], 1998.
Giovanni Resta, Economical numbers, Numbers Aplenty, 2013.
EXAMPLE
112 is a term because 112 = (2^4)*7; the total number of digits of (2, 4, 7) = 1 + 1 + 1 <= the number of digits of 112 (3).
125 is a term because 125 = 5^3; the total number of digits of (5, 3) = 1 + 1 <= the number of digits of 125 (3).
MATHEMATICA
A379373Q[k_] := Total[IntegerLength[Select[Flatten[FactorInteger[k]], # > 1 &]]] <= IntegerLength[k];
Select[Range[200], A379373Q]
PROG
(Python)
from sympy import factorint
def ok(n): return n > 0 and sum(len(str(p))+(len(str(e)) if e>1 else 0) for p, e in factorint(n).items()) <= len(str(n))
print([k for k in range(136) if ok(k)]) # Michael S. Branicky, Dec 22 2024
CROSSREFS
KEYWORD
nonn,base,new
AUTHOR
Paolo Xausa, Dec 21 2024
STATUS
approved