This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A218291 #16 Sep 08 2022 08:46:04 %S A218291 6,24,42,48,60,66,84,114,132,138,150,156,174,192,198,204,222,228,240, %T A218291 246,264,282,288,312,318,330,336,354,372,378,390,396,402,408,420,426, %U A218291 444,462,468,480,486,510,516,534,552,558,570,576,594,600,606,624,642,648 %N A218291 Multiples of 6 such that the sum of their digits is also a multiple of 6. %H A218291 Bruno Berselli, <a href="/A218291/b218291.txt">Table of n, a(n) for n = 1..1000</a> %e A218291 48 is a multiple of 6, and 4+8=12 is also a multiple of 6. %t A218291 Select[ Range[6, 700, 6], Mod[ Total[ IntegerDigits[#]], 6] == 0 &] (* _Jean-François Alcover_, Oct 26 2012 *) %o A218291 (Magma) [n: n in [6..700 by 6] | IsZero(&+Intseq(n) mod 6)]; %Y A218291 Subsequence of A179082. %Y A218291 Cf. multiples of k with digit sum divisible by k: A008585 (k=3), A008591 (k=9), A062753 (k=4), A179082 (k=2), A216994 (k=7), A216995 (k=11), A216997 (k=8), A218290 (k=5), A218292 (k=10). %K A218291 nonn,base,easy %O A218291 1,1 %A A218291 _Bruno Berselli_, Oct 25 2012