login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
1,1
COMMENTS
a(n) = 0 if n is divisible by 3, 1111, 1507, 2849, 3367, 4849, 5291 or 7373. - Robert Israel, Feb 14 2024
LINKS
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
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Apr 01 2002
EXTENSIONS
More terms from Sascha Kurz, Apr 08 2002
STATUS
approved