login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A069530 Smallest multiple of n with digit sum = 11, or 0 if no such number exists. 13
29, 38, 0, 56, 65, 0, 56, 56, 0, 290, 209, 0, 65, 56, 0, 128, 119, 0, 38, 380, 0, 308, 92, 0, 425, 182, 0, 56, 29, 0, 155, 128, 0, 272, 245, 0, 74, 38, 0, 560, 164, 0, 344, 308, 0, 92, 47, 0, 245, 650, 0, 416, 371, 0, 605, 56, 0, 290, 236, 0, 1037, 434, 0, 128, 65, 0, 335 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..67.

FORMULA

a(3k) = 0 for k = 1, 2, 3, ....

a(n) = n*A088400(n). - R. J. Mathar, Aug 06 2019

MAPLE

A069530 := proc(n)

    local m ;

    if modp(n, 3) = 0 then

         0 ;

    else

        for m from 1 do

            if digsum(m*n) = 11 then

                return m*n ;

            end if;

        end do:

    end if;

end proc:

seq(A069530(n), n=1..70) ; # R. J. Mathar, Aug 06 2019

PROG

(PARI) sod(n) = {digs = digits(n); return (sum(i=1, #digs, digs[i])); }

a(n) = {if (n % 3 == 0, return (0)); k = 1; while (sod(k*n) != 11, k++); k; } \\ Michel Marcus, Sep 14 2013

CROSSREFS

Cf. A166311, A069521, A069522, A069523, A069524, A069525, A069526, A069527, A069528, A069529.

Sequence in context: A152865 A108272 A121999 * A259032 A087144 A114616

Adjacent sequences:  A069527 A069528 A069529 * A069531 A069532 A069533

KEYWORD

base,nonn,changed

AUTHOR

Amarnath Murthy, Apr 01 2002

EXTENSIONS

More terms from Sascha Kurz, Apr 08 2002

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 20 04:33 EDT 2019. Contains 326139 sequences. (Running on oeis4.)