Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A132629
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A132629 Sigma(n)/Sum_digits(n) for n such that sigma(n) is divisible by Sum_digits(n). +0
2
1, 2, 18, 6, 4, 2, 21, 9, 10, 24, 8, 8, 6, 16, 12, 14, 28, 12, 12, 9, 9, 5, 8, 26, 217, 51, 72, 26, 42, 32, 11, 108, 62, 40, 18, 120, 28, 32, 63, 56, 27, 24, 32, 21, 18, 19, 62, 26, 54, 24, 24, 12, 32, 30, 16, 36, 21, 26 (list; graph; listen)
OFFSET

0,2

EXAMPLE

n=147 -> sigma(n)=1+3+7+21+49+147=228 Sum_digits(n)=1+4+7=12 -> 228/12 = 19

n=177 -> sigma(n)=1+3+59+177=240 Sum_digits(n)=1+7+7=15 -> 240/15 = 16

MAPLE

with(numtheory); P:=proc(n) local a, i, j, k, w; for i from 1 by 1 to n do w:=0; k:=i; while k>0 do w:=w+k-(trunc(k/10)*10); k:=trunc(k/10); od; j:=sigma(i)/w; if trunc(j)=j then print(j); fi; od; end: P(200);

CROSSREFS

Cf. A007691, A054030, A132628.

Sequence in context: A094048 A087665 A093481 this_sequence A083502 A076378 A066242

Adjacent sequences: A132626 A132627 A132628 this_sequence A132630 A132631 A132632

KEYWORD

easy,nonn

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), Aug 24 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 December 4 15:51 EST 2008. Contains 151308 sequences.


AT&T Labs Research