login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Numbers n such that the sum of digits of 6n equals 12.
8

%I #10 Dec 23 2016 21:43:26

%S 8,11,14,23,26,29,32,38,41,44,47,53,56,59,62,65,68,71,74,77,80,86,89,

%T 92,95,101,104,107,110,119,122,125,134,137,140,152,155,173,176,179,

%U 182,188,191,194,197,203,206,209,212,215,218,221,224,227,230,236

%N Numbers n such that the sum of digits of 6n equals 12.

%C Inspired by A088408 = A062768/6 and A279769 (the analog for 9).

%t Select[Range@ 240, Total@ IntegerDigits[6 #] == 12 &] (* _Michael De Vlieger_, Dec 23 2016 *)

%o (PARI) is(n)=sumdigits(6*n)==12

%Y Cf. A007953 (digital sum), A279772 (sumdigits(2n) = 4), A279773 (sumdigits(3n) = 6), A279774 (sumdigits(4n) = 8), A279775 (sumdigits(5n) = 10), A279770 (sumdigits(7n) = 14), A279768 (sumdigits(8n) = 16), A279769 (sumdigits(9n) = 18), A279777 (sumdigits(9n) = 27).

%Y Digital sum of m*n equals m: A088404 = A069537/2, A088405 = A052217/3, A088406 = A063997/4, A088407 = A069540/5, A088408 = A062768/6, A088409 = A063416/7, A088410 = A069543/8.

%Y Cf. A005349 (Niven or Harshad numbers), A245062 (arranged in rows by digit sums).

%Y Numbers with given digital sum: A011557 (1), A052216 (2), A052217 (3), A052218 (4), A052219 (5), A052220 (6), A052221 (7), A052222 (8), A052223 (9), A052224 (10), A166311 (11), A235151 (12), A143164 (13), A235225 (14), A235226 (15), A235227 (16), A166370 (17), A235228 (18), A166459 (19), A235229 (20).

%K nonn,easy,base

%O 1,1

%A _M. F. Hasler_, Dec 23 2016