A198681 Nonnegative multiples of 3 whose sum of base-3 digits are of the form 3k+1.
3, 9, 24, 27, 42, 48, 60, 66, 72, 81, 96, 102, 114, 120, 126, 138, 144, 159, 168, 174, 180, 192, 198, 213, 216, 231, 237, 243, 258, 264, 276, 282, 288, 300, 306, 321, 330, 336, 342, 354, 360, 375, 378, 393, 399, 408, 414, 429, 432, 447, 453, 465, 471, 477, 492, 498
Offset: 1
Links
- Michel Marcus, Table of n, a(n) for n = 1..1001 (after Harvey P. Dale).
- 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[3Range[200],IntegerQ[(Total[IntegerDigits[#,3]]-1)/3]&] (* Harvey P. Dale, Feb 05 2012 *)
Extensions
Offset corrected by Michel Marcus, Mar 02 2016
Comments