|
Search: id:A135199
|
|
|
| A135199 |
|
Numbers n that raised to the powers from 1 to k (with k>=1) are multiple of the sum of their digits (n raised to k+1 must not be a multiple). Case k=14. |
|
+0 17
|
| |
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
Is it the sequence finite?
|
|
EXAMPLE
|
60^1=60 is multiple of Sum_digits(60)=6
60^2=3600 is multiple of Sum_digits(3600)=9
...
60^14=7836416409600000000000000 is a multiple of Sum_digits(7836416409600000000000000)=54
while
60^15=470184984576000000000000000 is not multiple of Sum_digits(470184984576000000000000000)=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(30000, 14);
|
|
CROSSREFS
|
Cf. A135186, A135187, A135188, A135189, A135190, A135191, A135192, A135193, A135194, A135195, A135196, A135197, A135198, A135200, A135201, A135202.
Sequence in context: A044311 A044692 A039497 this_sequence A112065 A044392 A044773
Adjacent sequences: A135196 A135197 A135198 this_sequence A135200 A135201 A135202
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), Nov 26 2007
|
|
|
Search completed in 0.002 seconds
|