Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A135197
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A135197 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=12. +0
17
90, 120, 900, 1200, 3480, 4650, 5700, 7140, 9000, 12000, 13140, 13260, 21180, 21660 (list; graph; listen)
OFFSET

1,1

EXAMPLE

90^1=90 is multiple of Sum_digits(90)=9

90^2=8100 is multiple of Sum_digits(8100)=9

etc. till

90^12=282429536481000000000000 is multiple of Sum_digits(282429536481000000000000)=54

while

90^13=25418658283290000000000000 is not multiple of Sum_digits(25418658283290000000000000)=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(25000, 12);

CROSSREFS

Cf. A135186, A135187, A135188, A135189, A135190, A135191, A135192, A135193, A135194, A135195, A135196, A135198, A135199, A135200, A135201, A135202.

Sequence in context: A039401 A044004 A078493 this_sequence A025371 A025362 A114826

Adjacent sequences: A135194 A135195 A135196 this_sequence A135198 A135199 A135200

KEYWORD

easy,nonn,base

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), Nov 23 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 22 20:51 EST 2009. Contains 167312 sequences.


AT&T Labs Research