OFFSET
1,1
FORMULA
Positive integers n such that A195860(n)=10.
EXAMPLE
240^1=240 is a multiple of Sum_digits(240)=6.
240^2=57600 is a multiple of Sum_digits(240)=18.
240^3=13824000 is a multiple of Sum_digits(13824000)=18.
240^4=3317760000 is a multiple of Sum_digits(3317760000)=27.
240^5=796262400000 is a multiple of Sum_digits(796262400000)=36.
240^6=191102976000000 is a multiple of Sum_digits(191102976000000)=36.
240^7=45864714240000000 is a multiple of Sum_digits(45864714240000000)=45.
240^8=11007531417600000000 is a multiple of Sum_digits(11007531417600000000)=36.
240^9=2641807540224000000000 is a multiple of Sum_digits(2641807540224000000000)=45.
240^10=634033809653760000000000 is not a multiple of Sum_digits(634033809653760000000000)=63.
MAPLE
readlib(log10); P:=proc(n, m) local a, i, k, w, x, ok; for i from 1 by 1 to n do a:=simplify(log10(i)); if not (trunc(a)=a) then ok:=1; x:=1; while ok=1 do w:=0; k:=i^x; while k>0 do w:=w+k-(trunc(k/10)*10); k:=trunc(k/10); od; if trunc(i^x/w)=i^x/w then x:=x+1; else if x-1=m then print(i); fi; ok:=0; fi; od; fi; od; end: P(15000, 9);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Paolo P. Lava and Giorgio Balzarotti, Nov 23 2007
EXTENSIONS
More terms from Max Alekseyev, Sep 24 2011
STATUS
approved