A198680 Multiples of 3 whose sum of base-3 digits are also multiples of 3.
0, 15, 21, 33, 39, 45, 57, 63, 78, 87, 93, 99, 111, 117, 132, 135, 150, 156, 165, 171, 186, 189, 204, 210, 222, 228, 234, 249, 255, 261, 273, 279, 294, 297, 312, 318, 327, 333, 348, 351, 366, 372, 384, 390, 396, 405, 420, 426, 438, 444, 450, 462, 468, 483, 489, 495
Offset: 1
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
- Chris Bernhardt, Evil twins alternate with odious twins, Math. Mag. 82 (2009), pp. 57-62.
- Eric Weisstein's World of Mathematics, Prouhet-Tarry-Escott Problem
Programs
-
Mathematica
Select[3*Range[0,200],Divisible[Total[IntegerDigits[#,3]],3]&] (* Harvey P. Dale, May 31 2014 *)
Formula
a(n) = 3*A079498(n). - Charles R Greathouse IV, Nov 02 2011
Extensions
Offset corrected by Amiram Eldar, Jan 05 2020
Comments