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!)
 A334403 Harshad numbers with sum of digits equal to 18. 0
 198, 288, 378, 396, 468, 486, 558, 576, 594, 648, 666, 684, 738, 756, 774, 792, 828, 846, 864, 882, 918, 936, 954, 972, 990, 1098, 1188, 1278, 1296, 1368, 1386, 1458, 1476, 1494, 1548, 1566, 1584, 1638, 1656, 1674, 1692, 1728, 1746, 1764, 1782, 1818, 1836, 1854 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Even numbers with sum of digits equal to 18 are Harshad numbers (A005349). LINKS EXAMPLE 198/18 = 11. MATHEMATICA Select[18 * Range[100], Plus @@ IntegerDigits[#] == 18 &] (* Amiram Eldar, Sep 08 2020 *) PROG (PARI) isok(m) = my(s=sumdigits(m)); (s==18) && !(m%s); \\ Michel Marcus, Sep 08 2020 (PARI) first(n) = {my(res = vector(n), t = 0); forstep(i = 18, oo, 18, if(vecsum(digits(i)) == 18, t++; res[t] = i; if(t >= n, return(res) ) ) ) } \\ David A. Corneth, Sep 08 2020 CROSSREFS Intersection of A005349 and A235228. Subsequence of A008600. Cf. A002998. Sequence in context: A260193 A025366 A248534 * A238230 A055971 A075293 Adjacent sequences:  A334400 A334401 A334402 * A334404 A334405 A334406 KEYWORD nonn,easy,base AUTHOR Davide Rotondo, Sep 08 2020 EXTENSIONS More terms from Michel Marcus, Sep 08 2020 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 November 28 19:48 EST 2021. Contains 349415 sequences. (Running on oeis4.)