|
|
A066270
|
|
Multiples of 24 whose digits also sum to 24.
|
|
1
|
|
|
888, 1896, 1968, 2688, 2976, 3696, 3768, 3984, 4488, 4776, 4848, 4992, 5496, 5568, 5784, 5856, 5928, 6288, 6576, 6648, 6792, 6864, 6936, 7296, 7368, 7584, 7656, 7728, 7872, 7944, 8088, 8376, 8448, 8592, 8664, 8736, 8808, 8880, 8952, 9096, 9168, 9384
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
REFERENCES
|
David Wells, The Penguin Dictionary of Curious and Interesting Numbers, p. 149 (Rev. ed. 1997).
|
|
LINKS
|
|
|
EXAMPLE
|
6288 is included because it is divisible by 24 and its digits sum to 24.
|
|
MATHEMATICA
|
Select[24*Range[400], Total[IntegerDigits[#]]==24&] (* Harvey P. Dale, Nov 19 2014 *)
|
|
PROG
|
(PARI) SumD(x)= { local(s=0); while (x>9, s+=x%10; x\=10); return(s + x) } { n=0; forstep (m=24, 10^9, 24, if (SumD(m) == 24, write("b066270.txt", n++, " ", m); if (n==1000, return)) ) } \\ Harry J. Smith, Feb 08 2010
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|