login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A070279
Sum of digits of n equals the sum of digits of 2n.
6
9, 18, 27, 36, 45, 54, 63, 72, 81, 90, 99, 108, 117, 126, 135, 153, 162, 171, 180, 189, 198, 207, 216, 225, 252, 261, 270, 279, 288, 297, 306, 315, 351, 360, 369, 378, 387, 396, 405, 450, 459, 468, 477, 486, 495, 504, 513, 522, 531, 540, 549, 594, 603, 612
OFFSET
1,1
COMMENTS
A010888(a(n)) = 9, but not all multiples of 9 belong to the sequence: e.g. 144=16*9: A007953(144)=1+4+4=9, but A007953(144*2)=A007953(288)=2+8+8=18. - Reinhard Zumkeller, May 15 2002
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[1000], Total[IntegerDigits[#]]==Total[IntegerDigits[ 2#]]&] (* Harvey P. Dale, Jul 22 2011 *)
PROG
(PARI) is(n)=sumdigits(n)==sumdigits(2*n) \\ Charles R Greathouse IV, Jun 17 2012
CROSSREFS
Sequence in context: A052484 A072830 A008591 * A259729 A016096 A335978
KEYWORD
easy,nonn,base
AUTHOR
Benoit Cloitre, May 09 2002
EXTENSIONS
Incorrect comment removed by Charles R Greathouse IV, Jun 17 2012
STATUS
approved