The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A253205 Natural numbers n such that n-1 is divisible by the sum of the decimal digits of n. 1
 1, 10, 11, 13, 17, 41, 43, 56, 91, 97, 100, 101, 106, 121, 131, 155, 157, 161, 181, 188, 221, 232, 233, 239, 254, 271, 274, 301, 305, 311, 353, 361, 365, 385, 391, 401, 421, 451, 452, 491, 494, 508, 521, 529, 541, 551, 599, 610, 617, 625, 631, 647, 650, 673 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS Numbers of the form 1000...000 and 1000...0001 also belong to A144980. LINKS Paolo P. Lava, Table of n, a(n) for n = 1..10000 EXAMPLE 1-1 = 0 is divisible by 1, hence 1 is in the sequence; 56-1 = 55 is divisible by 5+6 = 11, hence 56 is in the sequence. MAPLE with(numtheory): P:=proc(q)local a, b, k, n; for n from 1 to q do a:=n; b:=0; for k from 1 to ilog10(n)+1 do b:=b+(a mod 10); a:=trunc(a/10); od; if type((n-1)/b, integer) then print(n); fi; od; end: P(10^5); MATHEMATICA Select[Range[10^3], Mod[#-1, Total[IntegerDigits[#]]]==0&] (* Ivan N. Ianakiev, Mar 25 2015 *) PROG (PARI) lista(nn) = for (n=1, nn, if ((n-1) % sumdigits(n) == 0, print1(n, ", "))); \\ Michel Marcus, Mar 25 2015 CROSSREFS Cf. A005349, A144967, A144980. Sequence in context: A216836 A188165 A125588 * A095038 A085186 A298365 Adjacent sequences:  A253202 A253203 A253204 * A253206 A253207 A253208 KEYWORD nonn,base,easy AUTHOR Paolo P. Lava, Mar 25 2015 EXTENSIONS Missing a(5270) in b-file inserted by Andrew Howroyd, Feb 23 2018 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.

Last modified August 10 02:28 EDT 2020. Contains 336367 sequences. (Running on oeis4.)