login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037478 Number of positive solutions to "numbers that are n times sum of their digits". 4
9, 1, 1, 4, 1, 1, 4, 1, 1, 9, 1, 1, 3, 1, 1, 3, 1, 1, 11, 1, 1, 3, 1, 1, 3, 2, 2, 12, 1, 1, 3, 1, 1, 4, 1, 2, 15, 2, 1, 4, 1, 1, 3, 1, 1, 13, 2, 2, 3, 1, 1, 4, 1, 1, 13, 1, 1, 2, 1, 1, 3, 0, 0, 7, 0, 1, 4, 1, 1, 4, 1, 1, 8, 1, 0, 3, 1, 1, 4, 1, 1, 10, 1, 0, 3, 1, 1, 3, 1, 1, 9, 1, 1, 3, 0, 1, 3, 1, 1, 9, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
It appears that the largest terms occur when n=1 mod 9 and moderately large terms when n=4 or 7 mod 9.
LINKS
EXAMPLE
a(13)=3 since the only three solutions are 117=9*13, 156=12*13 and 195=15*13.
MAPLE
read("transforms"):
A037478 := proc(n)
local a, x, k;
a := 0 ;
for k from 1 do
x := n*k ;
if digsum(x)*n = x then
a := a+1 ;
end if;
# may stop if x/digsum(x)>n, so if x/#digits(x) > 9*n
if x/A055642(x) > 9*n then
break;
end if;
end do:
a ;
end proc:
seq(A037478(n), n=1..101) ; # R. J. Mathar, May 11 2016
CROSSREFS
Sequence in context: A200128 A225537 A109012 * A198551 A010162 A228409
KEYWORD
nonn,base
AUTHOR
Henry Bottomley, Sep 12 2000
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:41 EDT 2024. Contains 371964 sequences. (Running on oeis4.)