A135137 Numbers that are the sum of three numbers from the set {1, 5, 10, 20, 50, 100}.
3, 7, 11, 12, 15, 16, 20, 21, 22, 25, 26, 30, 31, 35, 40, 41, 45, 50, 52, 56, 60, 61, 65, 70, 71, 75, 80, 90, 101, 102, 105, 106, 110, 111, 115, 120, 121, 125, 130, 140, 150, 151, 155, 160, 170, 200, 201, 205, 210, 220, 250, 300
Offset: 1
Examples
sum, n1..n6 (from _Zak Seidov_): 3, 3,0,0,0,0,0, 7, 2,1,0,0,0,0, 11, 1,2,0,0,0,0, 12, 2,0,1,0,0,0, 15, 0,3,0,0,0,0, 16, 1,1,1,0,0,0, 20, 0,2,1,0,0,0, 21, 1,0,2,0,0,0, 22, 2,0,0,1,0,0, 25, 0,1,2,0,0,0, ...
Programs
-
Mathematica
Union[Total/@Tuples[{1,5,10,20,50,100},{3}]] (* Harvey P. Dale, Jan 11 2011 *)
Extensions
Edited by N. J. A. Sloane, Feb 18 2008